Fix configure script on FreeBSD (Many thanks to Romain Tartière)
This commit is contained in:
parent
f29fd29e64
commit
3b452f0185
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
AC_INIT(libnfc, 1.1.1, roel@libnfc.org)
|
AC_INIT(libnfc, 1.1.1, info@libnfc.org)
|
||||||
|
|
||||||
AC_CONFIG_HEADER(config.h)
|
AC_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
|
@ -51,7 +51,7 @@ AC_SUBST([DEBUG_CFLAGS])
|
||||||
# pkg-config check for
|
# pkg-config check for
|
||||||
## libusb
|
## libusb
|
||||||
PKG_CHECK_MODULES(LIBUSB, libusb, [WITH_USB=1], [WITH_USB=0])
|
PKG_CHECK_MODULES(LIBUSB, libusb, [WITH_USB=1], [WITH_USB=0])
|
||||||
if test "$WITH_USB" == "0" ; then
|
if test "$WITH_USB" = "0" ; then
|
||||||
AC_MSG_ERROR([libusb is mandatory.])
|
AC_MSG_ERROR([libusb is mandatory.])
|
||||||
fi
|
fi
|
||||||
AC_SUBST(LIBUSB_LIBS)
|
AC_SUBST(LIBUSB_LIBS)
|
||||||
|
@ -61,7 +61,7 @@ AC_SUBST(LIBUSB_CFLAGS)
|
||||||
if test "x$enable_pcsc_lite" = "xyes"
|
if test "x$enable_pcsc_lite" = "xyes"
|
||||||
then
|
then
|
||||||
PKG_CHECK_MODULES(LIBPCSCLITE, libpcsclite, [WITH_PCSC=1], [WITH_PCSC=0])
|
PKG_CHECK_MODULES(LIBPCSCLITE, libpcsclite, [WITH_PCSC=1], [WITH_PCSC=0])
|
||||||
if test "$WITH_PCSC" == "0" ; then
|
if test "$WITH_PCSC" = "0" ; then
|
||||||
AC_MSG_ERROR([libpcsclite is mandatory.])
|
AC_MSG_ERROR([libpcsclite is mandatory.])
|
||||||
fi
|
fi
|
||||||
AC_SUBST(LIBPCSCLITE_LIBS)
|
AC_SUBST(LIBPCSCLITE_LIBS)
|
||||||
|
|
Loading…
Reference in a new issue