changeset 23402:1fadf480a63b

maint: tweak ARFLAGS and AR_FLAGS defaults and comments * m4/acinclude.m4 (OCTAVE_PROG_AR): Set ARFLAGS to "cr" to agree with current gnulib default value. Set AR_FLAGS to "$ARFLAGS" in case it differs from the defaults. Fix FIXME to refer to libtool, which uses AR_FLAGS.
author Mike Miller <mtmiller@octave.org>
date Sat, 15 Apr 2017 14:20:40 -0700
parents e0c20a22da7e
children fee531225679
files m4/acinclude.m4
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/m4/acinclude.m4	Sat Apr 15 11:54:33 2017 -0400
+++ b/m4/acinclude.m4	Sat Apr 15 14:20:40 2017 -0700
@@ -2295,15 +2295,15 @@
   AC_SUBST(AR)
 
   if test -z "$ARFLAGS"; then
-    ARFLAGS="rc"
+    ARFLAGS="cr"
   fi
   AC_SUBST(ARFLAGS)
 
-  dnl FIXME: Remove when automake, autotools updated (placed 4/15/2017).
+  dnl FIXME: Remove when libtool updated (placed 4/15/2017).
   dnl This silences the following unnecessary warning during compile:
   dnl ar: `u' modifier ignored since `D' is the default (see `U')
   if test -z "$AR_FLAGS"; then
-    AR_FLAGS="rc"
+    AR_FLAGS="$ARFLAGS"
   fi
 ])
 dnl