needs libnfc >= 1.3.4 so configure will now detect it.

This commit is contained in:
Romuald Conty 2010-04-07 10:22:23 +00:00
parent e5fbfbe6b7
commit 2566fb645c

View file

@ -40,7 +40,8 @@ AC_DEFINE([_XOPEN_SOURCE], [600], [Define to 500 if Single Unix conformance is w
CFLAGS="$CFLAGS -std=c99"
# Checks for pkg-config modules.
PKG_CHECK_MODULES([LIBNFC], [libnfc], [], [AC_MSG_ERROR([libnfc is mandatory.])])
LIBNFC_REQUIRED_VERSION=1.3.4
PKG_CHECK_MODULES([LIBNFC], [libnfc >= $LIBNFC_REQUIRED_VERSION], [], [AC_MSG_ERROR([libnfc >= $LIBNFC_REQUIRED_VERSION is mandatory.])])
PKG_CONFIG_REQUIRES="libnfc"
AC_SUBST([PKG_CONFIG_REQUIRES])