aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-06-20 12:27:57 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-06-20 12:27:57 +0000
commit2fbf7bcbea6e6db78a1b3cacc3e8371a1db2d599 (patch)
tree363fa12bf304d7384295c18b6134f15a8650134d /driver.c
parent8bfa1889ebdbff232d567a761ea1ec8d32c18e52 (diff)
downloadfetchmail-2fbf7bcbea6e6db78a1b3cacc3e8371a1db2d599.tar.gz
fetchmail-2fbf7bcbea6e6db78a1b3cacc3e8371a1db2d599.tar.bz2
fetchmail-2fbf7bcbea6e6db78a1b3cacc3e8371a1db2d599.zip
Fix HESIOD compile failure on FreeBSD 5-CURRENT,
adding a new macro that is based on ac_caolan_search_package from the autoconf macro archive. Mention +HESIOD in fetchmail -V if compiled in. svn path=/trunk/; revision=3912
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index fb98afd3..27036a7a 100644
--- a/driver.c
+++ b/driver.c
@@ -32,7 +32,7 @@
#ifdef HAVE_NET_SOCKET_H
#include <net/socket.h>
#endif
-#ifdef HESIOD
+#ifdef HAVE_PKG_hesiod
#include <hesiod.h>
#endif
@@ -954,7 +954,7 @@ static int do_session(
#endif
#endif /* !INET6_ENABLE */
-#ifdef HESIOD
+#ifdef HAVE_PKG_hesiod
/* If either the pollname or vianame are "hesiod" we want to
lookup the user's hesiod pobox host */
if (!strcasecmp(ctl->server.queryname, "hesiod")) {