I'm trying to make a Docker image to install network in a box and am having some trouble getting libosmocore to build. 

From a base debian image, I'm running

apt-get update && apt-get -y upgrade && apt-get -y install wget libopencore-amrwb0 libopencore-amrnb0 libortp8 libortp-dev libopencore-amrnb-dev libopencore-amrwb-dev sqlite3 libdbi-dev libdbi1 libdbd-sqlite3 git build-essential automake libtool libpcsclite1 libpcsclite-dev

then:
git clone git://git.osmocom.org/libosmocore.git
cd libosmocore
autoreconf -i
./configure

The error I'm currently getting is:
checking whether struct tm has tm_gmtoff member... yes
./configure: line 12023: syntax error near unexpected token `PCSC,'
./configure: line 12023: ` PKG_CHECK_MODULES(PCSC, libpcsclite)'

Any advice? Thanks,

Stephen