client: ifd_handler (PC/SC reader driver) as remsim-client
This adds a "libifd_remsim_client.so" PC/SC driver that can be
used to make normal PC/SC client programs (like pySim, sysmo-usim-tool,
osmo-sim-test, osmo-usim-auth, ...) talk to a remote SIM bank.
Change-Id: Ib8707c6e0e46407ab39a693adfec2fa71892f6ee
diff --git a/configure.ac b/configure.ac
index 1c9cd72..36c469d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,14 @@
PKG_CHECK_MODULES(OSMOUSB, libosmousb)
PKG_CHECK_MODULES(OSMOSIMTRACE2, libosmo-simtrace2)
PKG_CHECK_MODULES(USB, libusb-1.0)
+
+ serialconfdir=`pkg-config --variable=serialconfdir libpcsclite`
+ AC_SUBST(serialconfdir)
+ ifd_dropdir=`pkg-config --variable=usbdropdir libpcsclite`
+ # allow user to override the dropdir for the PCSC driver bundle
+ AC_ARG_WITH(usbdropdir, [--with-usbdropdir PCSC bundle location],
+ [usbdropdir="${withval}"], [usbdropdir="${ifd_dropdir}"])
+ AC_SUBST(usbdropdir)
fi
AM_CONDITIONAL(BUILD_CLIENT, test "x$osmo_ac_build_client" = "xyes")
AC_SUBST(BUILD_CLIENT)
@@ -165,6 +173,7 @@
src/rspro/Makefile
src/bankd/Makefile
src/client/Makefile
+ src/client/osmo-remsim-client-reader_conf
src/server/Makefile
include/Makefile
include/osmocom/Makefile