summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-11-07 18:17:52 +0100
committerWerner Koch <wk@gnupg.org>2014-11-07 18:17:52 +0100
commitf7e1be24c8fcf588d4e48aa53a85b22bd035e3b0 (patch)
treebd5894c76814b9e9c32ab54702cf2ee6c85fc2a3 /common
parentdoc: Add announce text for 2.1 (diff)
downloadgnupg2-f7e1be24c8fcf588d4e48aa53a85b22bd035e3b0.tar.xz
gnupg2-f7e1be24c8fcf588d4e48aa53a85b22bd035e3b0.zip
build: Improve test for ADNS
* configure.ac <adns>: Use adns_free as probe function for libadns. (HAVE_ADNS_FREE): Remove bogus tests to set this and remove the macro. (ADNSLIBS): Do not ac_subst - it is only used within configure. -- adns_free is required on Windows anyway (for robustness reasons) and it has been around for so long now that we do not need a separate test. An upstream adns 1.5 has meanwhile been release but I doubt that this has the required Windows code - and it is not libtool based anyway.
Diffstat (limited to 'common')
-rw-r--r--common/dns-cert.c3
-rw-r--r--common/pka.c3
-rw-r--r--common/srv.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/common/dns-cert.c b/common/dns-cert.c
index 179bb1524..4e297bf92 100644
--- a/common/dns-cert.c
+++ b/common/dns-cert.c
@@ -44,9 +44,6 @@
#endif
#ifdef USE_ADNS
# include <adns.h>
-# ifndef HAVE_ADNS_FREE
-# define adns_free free
-# endif
#endif
#include "util.h"
diff --git a/common/pka.c b/common/pka.c
index 3c45e8bbf..d47216298 100644
--- a/common/pka.c
+++ b/common/pka.c
@@ -48,9 +48,6 @@
#endif /* USE_DNS_PKA */
#ifdef USE_ADNS
# include <adns.h>
-# ifndef HAVE_ADNS_FREE
-# define adns_free free
-# endif
#endif
#include "util.h"
diff --git a/common/srv.c b/common/srv.c
index 380e356bd..7a0c42d4f 100644
--- a/common/srv.c
+++ b/common/srv.c
@@ -45,9 +45,6 @@
#include <time.h>
#ifdef USE_ADNS
# include <adns.h>
-# ifndef HAVE_ADNS_FREE
-# define adns_free free
-# endif
#endif
#include "util.h"