diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | m4/gnulib-common.m4 | 9 |
2 files changed, 11 insertions, 5 deletions
@@ -1,5 +1,12 @@ 2020-09-27 Bruno Haible <bruno@clisp.org> + Avoid "warning: $as_echo_n is obsolete" from autoconf 2.69c. + Reported by Gavin Smith <gavinsmith0123@gmail.com> in + <https://lists.gnu.org/archive/html/bug-gnulib/2020-09/msg00151.html>. + * m4/gnulib-common.m4 (gl_CACHE_VAL_SILENT): Use gl_SILENT. + +2020-09-27 Bruno Haible <bruno@clisp.org> + extensions: Simplify last commit. * m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't require AC_GNU_SOURCE ever. diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 index 57343e440a..a036454dbd 100644 --- a/m4/gnulib-common.m4 +++ b/m4/gnulib-common.m4 @@ -1,4 +1,4 @@ -# gnulib-common.m4 serial 60 +# gnulib-common.m4 serial 61 dnl Copyright (C) 2007-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -653,10 +653,9 @@ AC_DEFUN([gl_SILENT], # by an AC_MSG_CHECKING/AC_MSG_RESULT pair. AC_DEFUN([gl_CACHE_VAL_SILENT], [ - saved_as_echo_n="$as_echo_n" - as_echo_n=':' - AC_CACHE_VAL([$1], [$2]) - as_echo_n="$saved_as_echo_n" + gl_SILENT([ + AC_CACHE_VAL([$1], [$2]) + ]) ]) dnl Expands to some code for use in .c programs that, on native Windows, defines |