From b524b0f996c9c1e9a81a3e3cdcc11517c39adb7c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 27 Nov 2007 09:06:40 -0800 Subject: [PATCH] Fix AC_C_BIGENDIAN bug caused by new awk method of substitution. * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the #undef as this runs afoul of our new way of creating config.h. Problem reported by Jim Meyering in . --- ChangeLog | 8 ++++++++ lib/autoconf/c.m4 | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b1af40eb..6b880fc4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-11-27 Paul Eggert + + Fix AC_C_BIGENDIAN bug caused by new awk method of substitution. + * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the + #undef as this runs afoul of our new way of creating config.h. + Problem reported by Jim Meyering in + . + 2007-11-26 Ralf Wildenhues Fix autom4te for unusual characters in input file names. diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index b67de57d..f435098f 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -1401,7 +1401,7 @@ AC_DEFUN([AC_C_BIGENDIAN], #if defined __BIG_ENDIAN__ # define WORDS_BIGENDIAN 1 #elif ! defined __LITTLE_ENDIAN__ -/* #undef WORDS_BIGENDIAN */ +# undef WORDS_BIGENDIAN #endif])dnl AC_CACHE_CHECK([whether byte ordering is bigendian], [ac_cv_c_bigendian], [ac_cv_c_bigendian=unknown -- 2.47.2