]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix AC_C_BIGENDIAN bug caused by new awk method of substitution.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Nov 2007 17:06:40 +0000 (09:06 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Nov 2007 17:06:40 +0000 (09:06 -0800)
* 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
<http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.

ChangeLog
lib/autoconf/c.m4

index b1af40eb56cef0a4806c1eacfea823e12e4230fc..6b880fc48783e4ff152de9cf13729743fe7a965a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-11-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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
+       <http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.
+
 2007-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Fix autom4te for unusual characters in input file names.
index b67de57d3ec45a6d68b330231103d0f6cb54f614..f435098ff863b319200e0454ab8251f5882e3dba 100644 (file)
@@ -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