summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/c-auto.in
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-26 16:59:10 +0000
committerKarl Berry <karl@freefriends.org>2009-09-26 16:59:10 +0000
commitf06810ec208a02fb13533f5b3939faa904078cdc (patch)
tree4ff76e3f1079d60854f923046bc3a4d1dcc12079 /Build/source/texk/web2c/c-auto.in
parent57cf1bb09b0b264c0319ebd0c1e7e66d7adb9727 (diff)
AC_C_BIGENDIAN needed for sharable formats
git-svn-id: svn://tug.org/texlive/trunk@15462 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/c-auto.in')
-rw-r--r--Build/source/texk/web2c/c-auto.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/c-auto.in b/Build/source/texk/web2c/c-auto.in
index 4d1e9d0948d..73996636609 100644
--- a/Build/source/texk/web2c/c-auto.in
+++ b/Build/source/texk/web2c/c-auto.in
@@ -25,6 +25,9 @@
/* web2c: the version string. */
#define WEB2CVERSION "REPLACE-WITH-WEB2CVERSION"
+/* Define if building universal (internal helper macro) */
+#undef AC_APPLE_UNIVERSAL_BUILD
+
/* web2c: Define if gcc asm needs _ on external symbols. */
#undef ASM_NEEDS_UNDERSCORE
@@ -262,6 +265,18 @@
/* Version number of package */
#undef VERSION
+/* 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 include X11 window in Metafont. */
#undef X11WIN