diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-02-16 06:28:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-02-16 06:28:50 +0000 |
commit | bd57c85d9a2cc1e95e0ae16168b764204755e143 (patch) | |
tree | 61136f88ae3f61465fef9f5a224a35364cadfae7 /configure.in | |
parent | 9e96c6bc3494dfe34655a02df8f735bce71d86a6 (diff) | |
download | fetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.tar.gz fetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.tar.bz2 fetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.zip |
Alll of Craig Metz's changes for IPv6 and IPSEC except the POP3 stuff.
svn path=/trunk/; revision=1630
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 44d453ce..50d653ae 100644 --- a/configure.in +++ b/configure.in @@ -190,6 +190,23 @@ AC_ARG_ENABLE(opie, AC_DEFINE(OPIE,1) ], [with_opie=no]) +AC_ARG_ENABLE(inet6, + [ --enable-inet6 support IPv6 (requires the inet6-apps library)], + [ unset ac_cv_lib_inet6_getaddrinfo; AC_CHECK_LIB(inet6, getaddrinfo,, + [ unset ac_cv_lib_inet6_getaddrinfo; LDFLAGS="$LDFLAGS -L/usr/inet6/lib"; AC_CHECK_LIB(inet6, getaddrinfo,, + [ echo 'configure: cannot find libinet6, which is required for IPv6 support.'; exit 1]) ]) + AC_DEFINE(INET6, 1) ]) + +AC_ARG_ENABLE(netsec, + [ --enable-netsec support network security (req. the inet6-apps library)], + [ unset ac_cv_lib_inet6_net_security_strtorequest; AC_CHECK_LIB(inet6, net_security_strtorequest,, + [ unset ac_cv_lib_inet6_net_security_strtorequest; LDFLAGS="$LDFLAGS -L/usr/inet6/lib"; AC_CHECK_LIB(inet6, net_security_strtorequest,, + [ echo 'configure: cannot find net_security_strtorequest in libinet6, which is required'; + echo ' for network security support. Either it does not exist, or it was'; + echo ' not built with network security support enabled.'; + exit 1]) ]) + AC_DEFINE(NETSEC, 1) ]) + ### use option --with-gssapi=DIR to compile in GSSAPI support AC_ARG_WITH(gssapi, [ --with-gssapi[=DIR] compile in GSSAPI support using libraries in DIR]) |