Author: cazfi
Date: Mon Jan 11 15:23:51 2016
New Revision: 31446

URL: http://svn.gna.org/viewcvs/freeciv?rev=31446&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:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/configure.ac?rev=31446&r1=31445&r2=31446&view=diff
==============================================================================
--- trunk/configure.ac  (original)
+++ trunk/configure.ac  Mon Jan 11 15:23:51 2016
@@ -1475,6 +1475,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