SOURCES: autoconf-bigendian.patch (NEW) bigendian detection macro is broken...

arekm arekm at pld-linux.org
Tue Jun 17 18:39:36 CEST 2008


Author: arekm                        Date: Tue Jun 17 16:39:36 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
bigendian detection macro is broken on ppc - misdetects things as universal (mac os x). Drop universal detection for sake of our architectures.

---- Files affected:
SOURCES:
   autoconf-bigendian.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/autoconf-bigendian.patch
diff -u /dev/null SOURCES/autoconf-bigendian.patch:1.1
--- /dev/null	Tue Jun 17 18:39:36 2008
+++ SOURCES/autoconf-bigendian.patch	Tue Jun 17 18:39:30 2008
@@ -0,0 +1,12 @@
+diff -urN autoconf-2.62.org/lib/autoconf/c.m4 autoconf-2.62/lib/autoconf/c.m4
+--- autoconf-2.62.org/lib/autoconf/c.m4	2008-04-06 01:04:48.000000000 +0200
++++ autoconf-2.62/lib/autoconf/c.m4	2008-06-17 18:37:55.194174188 +0200
+@@ -1416,7 +1416,7 @@
+ 	     #endif
+ 	     typedef int dummy;
+ 	    ]])],
+-	 [ac_cv_c_bigendian=universal])],
++	 [ac_cv_c_bigendian=unknown])],
+       [AC_DIAGNOSE([obsolete], [AC_C_BIGENDIAN suggests AC_CONFIG_HEADERS])])
+     if test $ac_cv_c_bigendian = unknown; then
+       # See if sys/param.h defines the BYTE_ORDER macro.
================================================================


More information about the pld-cvs-commit mailing list