diff --git a/virtualsmartcard/README b/virtualsmartcard/README index 29b68fd..45e6639 100644 --- a/virtualsmartcard/README +++ b/virtualsmartcard/README @@ -1,5 +1,6 @@ Title : virtualsmartcard -Authors : Frank Morgner, Dominik Oepen +Authors : Frank Morgner + Dominik Oepen Version : 1.0.0 27 Jul 2009 License : See file COPYING Tested Platforms : Linux 2.6 (Debian, Ubuntu, Om 2008) @@ -40,6 +41,4 @@ PC/SC API. You can use the opensc-explorer or pcsc_scan to test that. QUESTIONS --------- -For questions, please email us at: -Frank Morgner -Dominik Oepen +For questions, please use http://sourceforge.net/projects/vsmartcard/support diff --git a/virtualsmartcard/configure.ac b/virtualsmartcard/configure.ac index efc028a..bd02dec 100644 --- a/virtualsmartcard/configure.ac +++ b/virtualsmartcard/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.64]) AC_INIT([virtualsmartcard], [0.2], [http://sourceforge.net/projects/vsmartcard/support]) -AC_CONFIG_SRCDIR([src/vpcd/ifd.c]) +AC_CONFIG_SRCDIR([src/vpcd/ifd-vpcd.c]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE @@ -18,16 +18,19 @@ AM_PROG_CC_C_O AM_PATH_PYTHON PKG_PROG_PKG_CONFIG + # Checks for libraries. PKG_CHECK_EXISTS([libpcsclite], [PKG_CHECK_MODULES([PCSC], [libpcsclite])], [AC_MSG_WARN([libpcsclite not found by pkg-config])]) + saved_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $PCSC_CFLAGS" AC_CHECK_HEADERS(ifdhandler.h,, [ AC_MSG_ERROR([ifdhandler.h not found, install libpcsclite or use ./configure PCSC_CFLAGS=...]) ]) CPPFLAGS="$saved_CPPFLAGS" + # --enable-serialdropdir=DIR AC_ARG_ENABLE(serialdropdir, AC_HELP_STRING([--enable-serialdropdir=DIR],[directory to install the @@ -47,6 +50,7 @@ if test "${serialdropdir}" = false ; then fi fi + # Checks for header files. AC_CHECK_HEADERS([arpa/inet.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h]) @@ -94,7 +98,6 @@ ${PACKAGE} has been configured with following options: Version: ${PACKAGE_VERSION} User binaries: $(eval eval eval echo "${bindir}") -Configuration files: $(eval eval eval echo "${sysconfdir}") Python site-packages: $(eval eval eval echo "${pythondir}") Driver directory: ${serialdropdir} diff --git a/virtualsmartcard/src/vpcd/Makefile.am b/virtualsmartcard/src/vpcd/Makefile.am index 6ffec43..65e9853 100644 --- a/virtualsmartcard/src/vpcd/Makefile.am +++ b/virtualsmartcard/src/vpcd/Makefile.am @@ -1,8 +1,8 @@ VPCD_LIB = libvpcd.$(DYN_LIB_EXT) lib_LTLIBRARIES = libvpcd.la -libvpcd_la_SOURCES = ifd.c vpcd.c -#libvpcd_la_LIBADD = $(PCSC_LIBS) +libvpcd_la_SOURCES = ifd-vpcd.c vpcd.c +libvpcd_la_LIBADD = $(PCSC_LIBS) libvpcd_la_CFLAGS = $(PCSC_CFLAGS) noinst_HEADERS = vpcd.h @@ -22,6 +22,7 @@ install_libvpcd: libvpcd.la reader.conf.in $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/reader.conf.d $(do_subst) < $(srcdir)/reader.conf.in > $(DESTDIR)$(sysconfdir)/reader.conf.d/vpcd + uninstall: uninstall_libvpcd uninstall_libvpcd: diff --git a/virtualsmartcard/src/vpcd/ifd.c b/virtualsmartcard/src/vpcd/ifd-vpcd.c similarity index 100% rename from virtualsmartcard/src/vpcd/ifd.c rename to virtualsmartcard/src/vpcd/ifd-vpcd.c