aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2012-09-02 19:36:47 -0700
committerLev Walkin <vlm@lionet.info>2012-09-02 19:36:47 -0700
commitb3751947cbae91c19e927bbfe76c8d63e82151c9 (patch)
tree7219756a29b43afa2f2763e468d42d907c12818b /config.h.in
parentb85507a1eb549df1959b43a38840d7d3e2c5294e (diff)
upgrade autotools
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in17
1 files changed, 14 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in
index e782858c..c752869a 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
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
@@ -76,9 +79,17 @@
/* Version number of package */
#undef VERSION
-/* 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
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */