Heyo,
Attached is a small patch which adds a --disable-ipv6 support into
APR (see also: STATUS file). What it basically does, is after, the
test for IPv6's presence, it adds an AC_ARG_ENABLE() and "turns off"
have_ipv6 if the user has given the --disable-ipv6 flag.
-Sterling
Index: configure.in
===================================================================
RCS file: /home/cvspublic/apr/configure.in,v
retrieving revision 1.356
diff -u -r1.356 configure.in
--- configure.in 2001/08/13 21:49:08 1.356
+++ configure.in 2001/08/14 06:54:52
@@ -1300,7 +1300,15 @@
else
AC_MSG_RESULT("no -- no sockaddr_in6");
fi
+
+
+AC_ARG_ENABLE(ipv6,[ --disable-ipv6 Disable IPv6 support in APR.],
+[have_ipv6=$enableval])
+
+
AC_SUBST(have_ipv6)
+
+
dnl #----------------------------- Finalize the variables