From 337092268a667ae9fab80d6438c59dcb4c7ec859 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 20 Feb 2003 05:22:35 +0000 Subject: fixed svn path=/trunk/; revision=19967 --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 9cf7509b64..c204649411 100644 --- a/configure.in +++ b/configure.in @@ -271,7 +271,6 @@ AC_CACHE_CHECK([if system has necessary structs and functions for IPv6 support], getaddrinfo ("www.ximian.com", NULL, &hints, &res); freeaddrinfo (res); ],[ - AC_DEFINE(ENABLE_IPv6,1,[Enable IPv6 support]) msg_ipv6=yes ],[ enable_ipv6=no @@ -281,6 +280,10 @@ AC_CACHE_CHECK([if system has necessary structs and functions for IPv6 support], else msg_ipv6=no fi + +if test "x$enable_ipv6" = "xyes"; then + AC_DEFINE(ENABLE_IPv6,1,[Enable IPv6 support]) +fi AM_CONDITIONAL(ENABLE_IPv6, test "x$enable_ipv6" = "xyes") -- cgit v1.2.3