added missing files for distribution packages. fixed installation when no serialdropdir is given.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@142 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -34,9 +34,16 @@ AC_ARG_ENABLE(serialdropdir,
|
||||
serial wrapper driver (default to pcscd config or $(prefix)/pcsc/drivers/serial)]),
|
||||
[serialdropdir="${enableval}"], [serialdropdir=false])
|
||||
if test "${serialdropdir}" = false ; then
|
||||
serialdropdir=${prefix}`$PKG_CONFIG libpcsclite --variable=usbdropdir`/serial
|
||||
if test "${serialdropdir}" = "${prefix}/serial" ; then
|
||||
AC_MSG_ERROR([use --enable-serialdropdir=DIR])
|
||||
if test "${prefix}" = NONE ; then
|
||||
serialdropdir=`$PKG_CONFIG libpcsclite --variable=usbdropdir`/serial
|
||||
if test "${serialdropdir}" = "/serial" ; then
|
||||
AC_MSG_ERROR([use --enable-serialdropdir=DIR])
|
||||
fi
|
||||
else
|
||||
serialdropdir=${prefix}`$PKG_CONFIG libpcsclite --variable=usbdropdir`/serial
|
||||
if test "${serialdropdir}" = "${prefix}/serial" ; then
|
||||
AC_MSG_ERROR([use --enable-serialdropdir=DIR])
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@ libvpcd_la_SOURCES = ifd.c vpcd.c
|
||||
#libvpcd_la_LIBADD = $(PCSC_LIBS)
|
||||
libvpcd_la_CFLAGS = $(PCSC_CFLAGS)
|
||||
|
||||
noinst_HEADERS = vpcd.h
|
||||
|
||||
EXTRA_DIST = reader.conf.in
|
||||
|
||||
install: install_libvpcd
|
||||
|
||||
Reference in New Issue
Block a user