From 4c7bc1a52eb2b862fe7333d6f3b8dd40b581ab6e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 16 Jun 2009 01:42:57 +0000 Subject: Fix IPV6 address parsing --- configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 59744e2..5d6417b 100644 --- a/configure.in +++ b/configure.in @@ -26,6 +26,16 @@ AC_PROG_CC AC_PROG_INSTALL AC_PROG_RANLIB +# IPV6 enabled +AC_ARG_ENABLE(ipv6, + AC_HELP_STRING([--disable-ipv6], + [Disable IPV6 support])) + +if test "$enable_ipv6" != "no"; then + AC_DEFINE_UNQUOTED(HAVE_INET6, 1, [Have IPV6 Support]) + echo "enabling ipv6 support" +fi + # TODO: Figure out why we need this wierd hack ACX_PTHREAD( , [echo "ERROR: Pthread support not found."; exit 1] ) -- cgit v1.2.3