taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit 345aeee5f72032e04031382db1c512707c1cceb4
parent c53011abcad24257278b87716d90ead38e5a7ef1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  7 Nov 2019 11:55:46 +0100

only link against libnfc once

Diffstat:
Mconfigure.ac | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -10,9 +10,6 @@ AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE AC_PROG_CC -# Checks for libraries. -AC_CHECK_LIB([nfc], [nfc_open]) - # Checks for header files. AC_CHECK_HEADERS([stdlib.h string.h unistd.h]) @@ -73,6 +70,11 @@ CFLAGS_SAVE=$CFLAGS LDFLAGS_SAVE=$LDFLAGS LIBS_SAVE=$LIBS +# Checks for libraries. +AC_CHECK_LIB([nfc], [nfc_open],,[AC_MSG_ERROR([libnfc required])]) + + + # check for libgnurl # libgnurl LIBGNURL_CHECK_CONFIG(,7.34.0,gnurl=1,gnurl=0)