--- configure.ac.orig 2008-07-11 16:55:37.000000000 +0200 +++ configure.ac 2008-07-11 16:56:14.000000000 +0200 @@ -1202,19 +1202,6 @@ AC_MSG_RESULT([yes])], AC_MSG_RESULT([no])) XSERVER_CFLAGS="$XSERVER_CFLAGS $CORE_INCS $XEXT_INC $COMPOSITE_INC $DAMAGE_INC $FIXES_INC $XI_INC $MI_INC $MIEXT_SHADOW_INC $MIEXT_LAYER_INC $MIEXT_DAMAGE_INC $RENDER_INC $RANDR_INC $FB_INC" -AC_DEFINE_UNQUOTED(_X_BYTE_ORDER,[$ENDIAN],[Endian order]) -AH_VERBATIM([X_BYTE_ORDER],[ -/* Deal with multiple architecture compiles on Mac OS X */ -#ifndef __APPLE_CC__ -#define X_BYTE_ORDER _X_BYTE_ORDER -#else -#ifdef __BIG_ENDIAN__ -#define X_BYTE_ORDER X_BIG_ENDIAN -#else -#define X_BYTE_ORDER X_LITTLE_ENDIAN -#endif -#endif -]) dnl --------------------------------------------------------------------------- dnl DDX section. --- include/dix-config.h.in.orig 2008-07-11 16:53:45.000000000 +0200 +++ include/dix-config.h.in 2008-07-11 16:55:04.000000000 +0200 @@ -449,7 +449,7 @@ #undef XVENDORNAME /* Endian order */ -#undef _X_BYTE_ORDER +#define _X_BYTE_ORDER X_BIG_ENDIAN /* Deal with multiple architecture compiles on Mac OS X */ #ifndef __APPLE_CC__ #define X_BYTE_ORDER _X_BYTE_ORDER --- include/xorg-server.h.in.orig 2008-07-14 13:33:31.611540083 +0000 +++ include/xorg-server.h.in 2008-07-14 13:33:48.533753525 +0000 @@ -179,7 +179,7 @@ #undef XVENDORNAME /* Endian order */ -#undef _X_BYTE_ORDER +#define _X_BYTE_ORDER X_BIG_ENDIAN /* Deal with multiple architecture compiles on Mac OS X */ #ifndef __APPLE_CC__ #define X_BYTE_ORDER _X_BYTE_ORDER