Author: cazfi
Date: Mon Jan 11 15:23:58 2016
New Revision: 31447

URL: http://svn.gna.org/viewcvs/freeciv?rev=31447&view=rev
Log:
Change AR_FLAGS to 'cr' when they otherwise are 'cru' - default of old automake 
versions.
(old = all current stable releases)

See bug #23840

Modified:
    branches/S2_6/configure.ac

Modified: branches/S2_6/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/configure.ac?rev=31447&r1=31446&r2=31447&view=diff
==============================================================================
--- branches/S2_6/configure.ac  (original)
+++ branches/S2_6/configure.ac  Mon Jan 11 15:23:58 2016
@@ -1436,6 +1436,12 @@
 FC_STORE_CXXFLAGS="$(echo $CXXFLAGS | $SED 's/\\/\\\\/g' | $SED 's/\"/\\\"/g')"
 AC_DEFINE_UNQUOTED([FC_STORE_CXXFLAGS], ["$FC_STORE_CXXFLAGS"],
                    [These are the CXXFLAGS used in compilation])
+
+dnl If old default of AR_FLAGS is otherwise being used (because of older 
automake),
+dnl replace it with one without 'u'
+if test "x$AR_FLAGS" = "xcru" ; then
+  AR_FLAGS="cr"
+fi
 
 AC_CONFIG_FILES([Makefile
           data/Makefile


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

Reply via email to