summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-12-07 18:12:28 +0100
committerWerner Koch <wk@gnupg.org>2009-12-07 18:12:28 +0100
commita61798d8746238bffefec620ed6bc93e440df3e5 (patch)
treee56b3dfa322eaca5aeb18046ccc15bc760506966 /configure.ac
parentUse ADNS for PKA and SRV records if no other resolver is available. (diff)
downloadgnupg2-a61798d8746238bffefec620ed6bc93e440df3e5.tar.xz
gnupg2-a61798d8746238bffefec620ed6bc93e440df3e5.zip
Fix last configure change.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8797e7954..eb03419ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -829,13 +829,11 @@ if test x"$use_dns_pka" = xyes || test x"$use_dns_srv" = xyes \
AC_DEFINE(BIND_8_COMPAT,1,[an Apple OSXism])
fi
else
- use_dns_srv=no
- use_dns_pka=no
- use_dns_cert=no
# If we have no resolver library but ADNS (e.g. under W32) enable the
# code parts which can be used with ADNS.
+ use_dns_cert=no
if test x"$have_adns" = xyes ; then
- DNSLIB="$ADNSLIBS"
+ DNSLIBS="$ADNSLIBS"
AC_DEFINE(USE_ADNS,1,[Use ADNS as resolver library.])
if test x"$use_dns_srv" = xyes ; then
@@ -845,6 +843,9 @@ if test x"$use_dns_pka" = xyes || test x"$use_dns_srv" = xyes \
if test x"$use_dns_pka" = xyes ; then
AC_DEFINE(USE_DNS_PKA,1)
fi
+ else
+ use_dns_srv=no
+ use_dns_pka=no
fi
fi