aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-06-29 10:43:57 +0000
committerWerner Koch <[email protected]>2009-06-29 10:43:57 +0000
commitd8d1ca61516d2fc247554507ea1c6379f780e3cf (patch)
treebd185b28a5d551413ecb1bf1026becf497afe029 /configure.ac
parentThe variable is called RET and not RC. (diff)
downloadgnupg-d8d1ca61516d2fc247554507ea1c6379f780e3cf.tar.gz
gnupg-d8d1ca61516d2fc247554507ea1c6379f780e3cf.zip
Reworked the estream memory buffer allocation.
Committed already posted patches for the v2 card.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7c6037c2c..bc7ba2095 100644
--- a/configure.ac
+++ b/configure.ac
@@ -820,11 +820,13 @@ AC_ARG_WITH(adns,
CPPFLAGS="${CPPFLAGS} -I$withval/include"
LDFLAGS="${LDFLAGS} -L$withval/lib"
fi])
-AC_CHECK_HEADERS(adns.h,
+if test "$with_adns" != "no"; then
+ AC_CHECK_HEADERS(adns.h,
AC_CHECK_LIB(adns, adns_init,
[have_adns=yes],
[CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}]),
[CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}])
+fi
if test "$have_adns" = "yes"; then
ADNSLIBS="-ladns"
fi