From: Bruno Haible Date: Mon, 16 Mar 2020 13:14:52 +0000 (+0100) Subject: *printf-posix: Fix m4 error (regression from 2020-03-08). X-Git-Tag: v1.0~4189 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=360979fd6fb84567e0ffc6839b0431fc00d6362f;p=gnulib.git *printf-posix: Fix m4 error (regression from 2020-03-08). * m4/printf.m4 (gl_SNPRINTF_DIRECTIVE_N): Enable interpretation of brackets in AC_COMPILE_IFELSE invocation. --- diff --git a/ChangeLog b/ChangeLog index 889f75ae22..0019334ca9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-03-16 Bruno Haible + + *printf-posix: Fix m4 error (regression from 2020-03-08). + * m4/printf.m4 (gl_SNPRINTF_DIRECTIVE_N): Enable interpretation of + brackets in AC_COMPILE_IFELSE invocation. + 2020-03-08 Bruno Haible crypto/af_alg, renameatu, same, term-style-control: Depend on fstat. diff --git a/m4/printf.m4 b/m4/printf.m4 index 54a2d71314..df473d8788 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -1,4 +1,4 @@ -# printf.m4 serial 63 +# printf.m4 serial 64 dnl Copyright (C) 2003, 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, @@ -1422,7 +1422,6 @@ int main () [gl_cv_func_snprintf_directive_n=yes], [gl_cv_func_snprintf_directive_n=no], [ -changequote(,)dnl case "$host_os" in # Guess no on glibc when _FORTIFY_SOURCE >= 2. *-gnu* | gnu*) AC_COMPILE_IFELSE( @@ -1434,6 +1433,7 @@ changequote(,)dnl [gl_cv_func_snprintf_directive_n="guessing yes"], [gl_cv_func_snprintf_directive_n="guessing no"]) ;; +changequote(,)dnl # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on FreeBSD >= 5. @@ -1466,8 +1466,8 @@ changequote(,)dnl mingw*) gl_cv_func_snprintf_directive_n="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_snprintf_directive_n="$gl_cross_guess_normal";; - esac changequote([,])dnl + esac ]) ]) ])