From 7cc514ac65d5725f60dae4e4d059a329a6c883b3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 2 Jul 2009 18:55:40 +0000 Subject: Upgrade to Autoconf 2.63 This upgrades the configure infrastructure to the latest Autoconf version. Some notable news are: - The workaround for the broken fseeko() test is gone. - Checking for unknown options is now provided by Autoconf itself. - Fixes for Mac OS X --- src/include/pg_config.h.in | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 34732278277..39ca31225fc 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -12,6 +12,9 @@ /* Define to the return type of 'accept' */ #undef ACCEPT_TYPE_RETURN +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + /* The normal alignment of `double', in bytes. */ #undef ALIGNOF_DOUBLE @@ -761,9 +764,17 @@ /* Define to select Win32-style shared memory. */ #undef USE_WIN32_SHARED_MEMORY -/* Define to 1 if your processor stores words with the most significant byte - first (like Motorola and SPARC, unlike Intel and VAX). */ -#undef WORDS_BIGENDIAN +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif /* Size of a WAL file block. This need have no particular relation to BLCKSZ. XLOG_BLCKSZ must be a power of 2, and if your system supports O_DIRECT I/O, -- cgit v1.2.3