<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40756 >

 $subject

 I also have fixed IPv6 related problem in metaserver project at
gna.org and updated cazfi.net metaserver accordingly.


 - ML

diff -Nurd -X.diff_ignore freeciv/configure.ac freeciv/configure.ac
--- freeciv/configure.ac	2009-03-24 16:49:15.000000000 +0200
+++ freeciv/configure.ac	2009-04-07 21:32:08.000000000 +0300
@@ -69,29 +69,24 @@
 esac], [server=true])
 AM_CONDITIONAL(SERVER, test x$server = xtrue)
 
-dnl yes     - Forced use of IPv6
+dnl yes     - Support for IPv6 required
 dnl no      - Legacy IPv4 support
-dnl support - IPv4 with IPv6 compatibility
-dnl test    - Try to enable IPv6 support, fallback IPv4
+dnl test    - Try to enable IPv6 support
 AC_ARG_ENABLE(ipv6,
-[  --enable-ipv6=yes/no/test/support
-                          use IPv6 (WIP) [[no]]],
+[  --enable-ipv6=yes/no/test
+                          use IPv6 (WIP) [[test]]],
 [case "${enableval}" in
-  yes|no|test|support) ipv6=${enableval} ;;
+  yes|no|test) ipv6=${enableval} ;;
   *)   AC_MSG_ERROR(bad value ${enableval} for --enable-ipv6) ;;
-esac], [ipv6=no])
+esac], [ipv6=test])
 if test x$ipv6 != xno ; then
   AC_CHECK_FUNCS([gethostbyname2 inet_pton inet_ntop getnameinfo],
 [ipv6_possible=true], [
-if test x$ipv6 = xyes || x$ipv6 = xsupport ; then
+if test x$ipv6 = xyes ; then
   AC_MSG_ERROR([Cannot enable IPv6 functionality])
 fi ])
   if test x$ipv6_possible = xtrue ; then
     AC_DEFINE([IPV6_SUPPORT], [1], [IPv6 Support built in])
-    if test x$ipv6 != xsupport ; then
-      dnl Do not actively use IPv6 when only support requested
-      AC_DEFINE([IPV6_USED], [1], [IPv6 Used])
-    fi
   fi
 fi
 
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to