From a0cd5e2f4cd7feae9fac6434e33b604878fda755 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Wed, 27 Jan 2010 22:01:57 +0100 Subject: [PATCH] Make sure to link with libgcrypt too --- configure.ac | 1 + src/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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@ -- 2.39.5