aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-12-23 08:02:32 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-12-23 08:02:32 +0000
commita28c83880b11c987608194a75a0eb18130b276d3 (patch)
tree30b04cb733655f866b0b44eb17e1d5db546d638e /configure.in
parentf64fbf59c2e26933084c3067fd31d619ee50e0bc (diff)
downloadfetchmail-a28c83880b11c987608194a75a0eb18130b276d3.tar.gz
fetchmail-a28c83880b11c987608194a75a0eb18130b276d3.tar.bz2
fetchmail-a28c83880b11c987608194a75a0eb18130b276d3.zip
Improvements to IPv6 code.
svn path=/trunk/; revision=2676
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index f1e32923..72522aca 100644
--- a/configure.in
+++ b/configure.in
@@ -290,13 +290,16 @@ AC_ARG_ENABLE(inet6,
[ AC_CHECK_FUNC(getaddrinfo, [with_inet6=yes],
[ LDFLAGS="$LDFLAGS -L/usr/inet6/lib";
- AC_CHECK_LIB(inet6, getaddrinfo, [with_inet6=yes],
+ AC_CHECK_LIB(inet6, getaddrinfo, [with_inet6=yes
+ LIBS="$LIBS -linet6"],
[ echo 'configure: cannot find proper glibc version or libinet6,';
echo ' which is required for IPv6 support.';
exit 1]) ] )],
[with_inet6=no])
test "$with_inet6" = "yes" && AC_DEFINE(INET6_ENABLE)
+AC_CHECK_FUNCS(inner_connect)
+
AC_ARG_ENABLE(netsec,
[ --enable-netsec support network security (requires inet6-apps library)],
[ unset ac_cv_lib_inet6_net_security_strtorequest; AC_CHECK_LIB(inet6, net_security_strtorequest,,