aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
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,,