]> err.no Git - yubikey-server-c/commitdiff
Make sure to link with libgcrypt too
authorTollef Fog Heen <tfheen@err.no>
Wed, 27 Jan 2010 21:01:57 +0000 (22:01 +0100)
committerTollef Fog Heen <tfheen@err.no>
Wed, 27 Jan 2010 21:01:57 +0000 (22:01 +0100)
configure.ac
src/Makefile.am

index 2c1de45a196779dd7d5a06ce72d277aa220ed36e..abd807b5f14e52673fbe0c9802f88b6699c442d0 100644 (file)
@@ -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([
index c53a687315a596465e68d91cf41600829efa4f58..1cd16de8e99ca60b32e11698aaf3f2128e9f3ddd 100644 (file)
@@ -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@