summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-03-11 23:53:02 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-03-12 00:03:37 -0800
commitcbd4708db21b633c64066dd6288d33d4ff6b4a5f (patch)
tree1ecab883554295ea5793703786ec5b1b7064c47d /m4
parent3175b5353375ca356866cef2c2bed8c058ffda18 (diff)
downloademacs-cbd4708db21b633c64066dd6288d33d4ff6b4a5f.tar.gz
Merge from gnulib
This incorporates: 2017-03-11 gnulib-common.m4: avoid aclocal.m4 bloat * doc/misc/texinfo.tex, m4/gnulib-common.m4: Copy from gnulib.
Diffstat (limited to 'm4')
-rw-r--r--m4/gnulib-common.m49
1 files changed, 6 insertions, 3 deletions
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
index 7b957f8a59d..36f2acc5539 100644
--- a/m4/gnulib-common.m4
+++ b/m4/gnulib-common.m4
@@ -1,4 +1,4 @@
-# gnulib-common.m4 serial 37
+# gnulib-common.m4 serial 38
dnl Copyright (C) 2007-2017 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -256,7 +256,8 @@ AC_DEFUN([gl_PROG_AR_RANLIB],
dnl library formats. In particular, the GNU binutils programs ar and ranlib
dnl produce libraries that work only with gcc, not with cc.
AC_REQUIRE([AC_PROG_CC])
- AC_BEFORE([$0], [AM_PROG_AR])
+ dnl The '][' hides this use from 'aclocal'.
+ AC_BEFORE([$0], [A][M_PROG_AR])
AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler],
[
AC_EGREP_CPP([Amsterdam],
@@ -288,7 +289,9 @@ Amsterdam
dnl __ACK__. It may seem like its easier to avoid calling the macro here,
dnl but we need to AC_SUBST both AR/ARFLAGS (thus those must have some good
dnl default value and automake should usually know them).
- m4_ifdef([AM_PROG_AR], [AM_PROG_AR], [:])
+ dnl
+ dnl The '][' hides this use from 'aclocal'.
+ m4_ifdef([A][M_PROG_AR], [A][M_PROG_AR], [:])
fi
dnl In case the code above has not helped with setting AR/ARFLAGS, use