aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-07-02 18:55:40 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-07-02 18:55:40 +0000
commit7cc514ac65d5725f60dae4e4d059a329a6c883b3 (patch)
tree2b7af90aa3548c9046e22d4f896cb682280acc9e /src
parent72da68eef08cb3f22512cf283e859ae4f2039e84 (diff)
downloadpostgresql-7cc514ac65d5725f60dae4e4d059a329a6c883b3.tar.gz
postgresql-7cc514ac65d5725f60dae4e4d059a329a6c883b3.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/include/pg_config.h.in17
1 files changed, 14 insertions, 3 deletions
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,