Author: cazfi
Date: Fri May  6 14:29:28 2016
New Revision: 32604

URL: http://svn.gna.org/viewcvs/freeciv?rev=32604&view=rev
Log:
Made --enable-ipv6 to default to strict 'yes'

See patch #7185

Modified:
    trunk/configure.ac
    trunk/doc/README.packaging

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/configure.ac?rev=32604&r1=32603&r2=32604&view=diff
==============================================================================
--- trunk/configure.ac  (original)
+++ trunk/configure.ac  Fri May  6 14:29:28 2016
@@ -221,7 +221,7 @@
 [case "${enableval}" in
   yes|no|test) ipv6=${enableval} ;;
   *)   AC_MSG_ERROR(bad value ${enableval} for --enable-ipv6) ;;
-esac], [ipv6=test])
+esac], [ipv6=yes])
 if test x$ipv6 != xno ; then
   if test "x$have_getaddrinfo" = "xyes" ; then
     enable_ipv6=yes
@@ -265,7 +265,7 @@
         enable_ipv6=no])
   fi
   if test x$enable_ipv6 = xno && test x$ipv6 = xyes ; then
-    AC_MSG_ERROR([Cannot enable IPv6 functionality])
+    AC_MSG_ERROR([Cannot enable IPv6 functionality. If you want to allow build 
without IPv6, try --enable-ipv6=test or --disable-ipv6])
   fi
   if test x$enable_ipv6 = xyes ; then
     AC_DEFINE([FREECIV_IPV6_SUPPORT], [1], [IPv6 Support built in])

Modified: trunk/doc/README.packaging
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/doc/README.packaging?rev=32604&r1=32603&r2=32604&view=diff
==============================================================================
--- trunk/doc/README.packaging  (original)
+++ trunk/doc/README.packaging  Fri May  6 14:29:28 2016
@@ -33,6 +33,9 @@
   that latter is adjusted for, and depends on, as new gtk3 version as
   possible. Once gtk4 gets released, this client is turned to gtk4-client.
 * Gtk2-client is no longer considered maintained client
+* --enable-ipv6 now defaults to strict 'yes' (it used to just 'test')
+  One has to explicitly allow IPv4-only builds with --enable-ipv6=test or
+  --disable-ipv6.
 
 ----------------------------------------------------------------------
 Compatibility of modified versions


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to