From 2566fb645c6bfaca0fd90dc58b1cc9c302cf901e Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 7 Apr 2010 10:22:23 +0000 Subject: [PATCH] needs libnfc >= 1.3.4 so configure will now detect it. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 84f178f..e098758 100644 --- a/configure.ac +++ b/configure.ac @@ -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])