summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2009-04-15 00:15:45 +0200
committerLoïc Minier <lool@dooz.org>2009-04-15 00:15:45 +0200
commitcd99c3bc35c31488bd6d265ef2c3f28858a3995a (patch)
treec36f19d41150a515eae1fbf737c2723a00abd6e6 /config.h.in
parent21ddd58d96dce367cb8f479b790cdc21564011c9 (diff)
Imported Upstream version 1.8.6
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in21
1 files changed, 18 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in
index c9461e1..201f316 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,5 +1,8 @@
/* config.h.in. Generated from configure.ac by autoheader. */
+/* Define if building universal (internal helper macro) */
+#undef AC_APPLE_UNIVERSAL_BUILD
+
/* whether memory barriers are needed around atomic operations */
#undef ATOMIC_OP_NEEDS_MEMORY_BARRIER
@@ -175,6 +178,10 @@
/* Define to 1 if you have the <windows.h> header file. */
#undef HAVE_WINDOWS_H
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#undef LT_OBJDIR
+
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
@@ -200,9 +207,17 @@
attribute */
#undef WARN_UNUSED_RESULT
-/* 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
/* Deal with multiple architecture compiles on Mac OS X */