From a28c83880b11c987608194a75a0eb18130b276d3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 23 Dec 1999 08:02:32 +0000 Subject: Improvements to IPv6 code. svn path=/trunk/; revision=2676 --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.in') 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,, -- cgit v1.2.3