aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert2017-03-11 23:53:02 -0800
committerPaul Eggert2017-03-12 00:03:37 -0800
commitcbd4708db21b633c64066dd6288d33d4ff6b4a5f (patch)
tree1ecab883554295ea5793703786ec5b1b7064c47d /m4
parent3175b5353375ca356866cef2c2bed8c058ffda18 (diff)
downloademacs-cbd4708db21b633c64066dd6288d33d4ff6b4a5f.tar.gz
emacs-cbd4708db21b633c64066dd6288d33d4ff6b4a5f.zip
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 @@
1# gnulib-common.m4 serial 37 1# gnulib-common.m4 serial 38
2dnl Copyright (C) 2007-2017 Free Software Foundation, Inc. 2dnl Copyright (C) 2007-2017 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -256,7 +256,8 @@ AC_DEFUN([gl_PROG_AR_RANLIB],
256 dnl library formats. In particular, the GNU binutils programs ar and ranlib 256 dnl library formats. In particular, the GNU binutils programs ar and ranlib
257 dnl produce libraries that work only with gcc, not with cc. 257 dnl produce libraries that work only with gcc, not with cc.
258 AC_REQUIRE([AC_PROG_CC]) 258 AC_REQUIRE([AC_PROG_CC])
259 AC_BEFORE([$0], [AM_PROG_AR]) 259 dnl The '][' hides this use from 'aclocal'.
260 AC_BEFORE([$0], [A][M_PROG_AR])
260 AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler], 261 AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler],
261 [ 262 [
262 AC_EGREP_CPP([Amsterdam], 263 AC_EGREP_CPP([Amsterdam],
@@ -288,7 +289,9 @@ Amsterdam
288 dnl __ACK__. It may seem like its easier to avoid calling the macro here, 289 dnl __ACK__. It may seem like its easier to avoid calling the macro here,
289 dnl but we need to AC_SUBST both AR/ARFLAGS (thus those must have some good 290 dnl but we need to AC_SUBST both AR/ARFLAGS (thus those must have some good
290 dnl default value and automake should usually know them). 291 dnl default value and automake should usually know them).
291 m4_ifdef([AM_PROG_AR], [AM_PROG_AR], [:]) 292 dnl
293 dnl The '][' hides this use from 'aclocal'.
294 m4_ifdef([A][M_PROG_AR], [A][M_PROG_AR], [:])
292 fi 295 fi
293 296
294 dnl In case the code above has not helped with setting AR/ARFLAGS, use 297 dnl In case the code above has not helped with setting AR/ARFLAGS, use