summaryrefslogtreecommitdiff
path: root/m4/gnulib-common.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-09-27 21:03:24 +0200
committerBruno Haible <bruno@clisp.org>2020-09-27 21:42:11 +0200
commit1079dc95fd2c8d5ed2819f30c9b14eee0e162d04 (patch)
treeadb0dc07d82224967c14a5a71a8a47f3c60f1f10 /m4/gnulib-common.m4
parente6d2c72636e45248d3e4d76519c639c943c6aa6e (diff)
downloadgnulib-1079dc95fd2c8d5ed2819f30c9b14eee0e162d04.tar.gz
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.
Diffstat (limited to 'm4/gnulib-common.m4')
-rw-r--r--m4/gnulib-common.m49
1 files changed, 4 insertions, 5 deletions
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