mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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.
This commit is contained in:
parent
e0db5af7ed
commit
f7e1be24c8
4 changed files with 2 additions and 15 deletions
|
@ -44,9 +44,6 @@
|
|||
#endif
|
||||
#ifdef USE_ADNS
|
||||
# include <adns.h>
|
||||
# ifndef HAVE_ADNS_FREE
|
||||
# define adns_free free
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "util.h"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue