diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2024-01-20 11:45:04 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2024-01-20 11:45:38 -0800 |
commit | 3add626f1405739aa430adcc0b4c27e587a7c561 (patch) | |
tree | 1b30227dc3f70924a4ed92f662cec9276dea96c9 /m4/assert_h.m4 | |
parent | d276996c4f60395464ca8d5d7de487022b4937fa (diff) | |
download | emacs-3add626f1405739aa430adcc0b4c27e587a7c561.tar.gz |
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'm4/assert_h.m4')
-rw-r--r-- | m4/assert_h.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/assert_h.m4 b/m4/assert_h.m4 index a73e45f0641..d3d4c42519f 100644 --- a/m4/assert_h.m4 +++ b/m4/assert_h.m4 @@ -9,10 +9,10 @@ dnl From Paul Eggert. AC_DEFUN([gl_ASSERT_H], [ AC_CACHE_CHECK([for static_assert], [gl_cv_static_assert], - [gl_save_CFLAGS=$CFLAGS + [gl_saved_CFLAGS=$CFLAGS for gl_working in "yes, a keyword" "yes, an <assert.h> macro"; do AS_CASE([$gl_working], - [*assert.h*], [CFLAGS="$gl_save_CFLAGS -DINCLUDE_ASSERT_H"]) + [*assert.h*], [CFLAGS="$gl_saved_CFLAGS -DINCLUDE_ASSERT_H"]) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( @@ -32,7 +32,7 @@ AC_DEFUN([gl_ASSERT_H], ]])], [gl_cv_static_assert=$gl_working], [gl_cv_static_assert=no]) - CFLAGS=$gl_save_CFLAGS + CFLAGS=$gl_saved_CFLAGS test "$gl_cv_static_assert" != no && break done]) |