From 2fbf7bcbea6e6db78a1b3cacc3e8371a1db2d599 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 20 Jun 2004 12:27:57 +0000 Subject: 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 --- driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver.c') 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 #endif -#ifdef HESIOD +#ifdef HAVE_PKG_hesiod #include #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")) { -- cgit v1.2.3