upgrade code to work with develoment version of libnfc (upcomming 1.4.0)

Update code to match with the new API;
Sync nfc-utils.[ch] from libnfc's repo;
Update ./configure to detect libnfc 1.4.0;
This commit is contained in:
Romuald Conty
2010-11-02 09:36:39 +00:00
parent 2072e323bb
commit 0320ded902
5 changed files with 554 additions and 45 deletions

View File

@@ -13,7 +13,7 @@ AM_INIT_AUTOMAKE
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
# Checks for pkg-config modules.
LIBNFC_REQUIRED_VERSION=1.3.9
LIBNFC_REQUIRED_VERSION=1.4.0
PKG_CHECK_MODULES([LIBNFC], [libnfc >= $LIBNFC_REQUIRED_VERSION], [], [AC_MSG_ERROR([libnfc >= $LIBNFC_REQUIRED_VERSION is mandatory.])])
PKG_CONFIG_REQUIRES="libnfc"