aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b66538b3..4936aa01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,7 +131,8 @@ netbsd*)
131esac 131esac
132 132
133 133
134 134# for pkg-config
135MHD_LIBDEPS=""
135 136
136CHECK_PTHREAD 137CHECK_PTHREAD
137LIBS="$PTHREAD_LIBS $LIBS" 138LIBS="$PTHREAD_LIBS $LIBS"
@@ -242,6 +243,7 @@ then
242 if test "$gcrypt" = "true" 243 if test "$gcrypt" = "true"
243 then 244 then
244 AC_DEFINE([HTTPS_SUPPORT],[1],[include HTTPS support]) 245 AC_DEFINE([HTTPS_SUPPORT],[1],[include HTTPS support])
246 MHD_LIBDEPS="$LIBGCRYPT_LIBS"
245 else 247 else
246 AC_DEFINE([HTTPS_SUPPORT],[0],[no libgcrypt]) 248 AC_DEFINE([HTTPS_SUPPORT],[0],[no libgcrypt])
247 enable_https="no (lacking libgcrypt)" 249 enable_https="no (lacking libgcrypt)"
@@ -290,6 +292,8 @@ AM_CONDITIONAL([USE_COVERAGE], [test "x$use_gcov" = "xyes"])
290 292
291AC_SUBST(MHD_LIB_LDFLAGS) 293AC_SUBST(MHD_LIB_LDFLAGS)
292 294
295# for pkg-config
296AC_SUBST(MHD_LIBDEPS)
293 297
294AC_SUBST(CPPFLAGS) 298AC_SUBST(CPPFLAGS)
295AC_SUBST(LIBS) 299AC_SUBST(LIBS)