From: Tollef Fog Heen Date: Wed, 27 Jan 2010 21:01:57 +0000 (+0100) Subject: Make sure to link with libgcrypt too X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0cd5e2f4cd7feae9fac6434e33b604878fda755;p=yubikey-server-c Make sure to link with libgcrypt too --- diff --git a/configure.ac b/configure.ac index 2c1de45..abd807b 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,7 @@ fi PKG_CHECK_MODULES([libmicrohttpd], [libmicrohttpd]) +AM_PATH_LIBGCRYPT AC_CHECK_LIB([yubikey], [yubikey_modhex_decode],[], AC_MSG_ERROR([libyubikey is not installed or not new enough])) AM_CONFIG_HEADER(src/config.h) AC_CONFIG_FILES([ diff --git a/src/Makefile.am b/src/Makefile.am index c53a687..1cd16de 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,5 +3,5 @@ sbin_PROGRAMS = yubikeyd yubikeyd_SOURCES = main.c util.c -yubikeyd_CFLAGS = @libmicrohttpd_CFLAGS@ @POSTGRESQL_CFLAGS@ -yubikeyd_LDADD = @libmicrohttpd_LIBS@ @POSTGRESQL_LDFLAGS@ \ No newline at end of file +yubikeyd_CFLAGS = @libmicrohttpd_CFLAGS@ @POSTGRESQL_CFLAGS@ @LIBGCRYPT_CFLAGS@ +yubikeyd_LDADD = @libmicrohttpd_LIBS@ @POSTGRESQL_LDFLAGS@ @LIBGCRYPT_LIBS@