Author: brane
Date: Fri Dec 4 11:08:34 2020
New Revision: 1884094
URL: http://svn.apache.org/viewvc?rev=1884094&view=rev
Log:
Get rid of archiver warnings on Linux and related GNU binutils plarforms.
* configure.ac (AR_FLAGS): Default to 'cr' because libtool uses 'cru'
by default, which has been wrong for a very long time.
Modified:
subversion/trunk/configure.ac
Modified: subversion/trunk/configure.ac
URL:
http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1884094&r1=1884093&r2=1884094&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Fri Dec 4 11:08:34 2020
@@ -248,6 +248,8 @@ SVN_EXPAND_VAR(svn_localedir, "${exp_loc
AC_DEFINE_UNQUOTED(SVN_LOCALE_DIR, "${svn_localedir}",
[Defined to be the path to the installed locale dirs])
+dnl Libtool has been broken for decades, incorrectly passing 'cru' to 'ar'
+AR_FLAGS=${AR_FLAGS:-cr}
dnl Check for libtool -- we'll definitely need it for all our shared libs!
AC_MSG_NOTICE([configuring libtool now])
ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])