summaryrefslogtreecommitdiffstats
path: root/unix/tkConfig.h.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-29 09:07:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-29 09:07:35 (GMT)
commit54d2d41c0c0653596d3d9156e4960660b683826c (patch)
treeeee0237c321d6b0626e2a0478d95890d63b12e94 /unix/tkConfig.h.in
parent7f6f8a4c12e2bdd95b3de313a9fa8e179518631a (diff)
downloadtk-54d2d41c0c0653596d3d9156e4960660b683826c.zip
tk-54d2d41c0c0653596d3d9156e4960660b683826c.tar.gz
tk-54d2d41c0c0653596d3d9156e4960660b683826c.tar.bz2
Fix "make dist"
Diffstat (limited to 'unix/tkConfig.h.in')
-rw-r--r--unix/tkConfig.h.in22
1 files changed, 18 insertions, 4 deletions
diff --git a/unix/tkConfig.h.in b/unix/tkConfig.h.in
index 72d97c8..6ffc035 100644
--- a/unix/tkConfig.h.in
+++ b/unix/tkConfig.h.in
@@ -4,6 +4,9 @@
#ifndef _TKCONFIG
#define _TKCONFIG
+/* Define if building universal (internal helper macro) */
+#undef AC_APPLE_UNIVERSAL_BUILD
+
/* Define to 1 if you have the <AvailabilityMacros.h> header file. */
#undef HAVE_AVAILABILITYMACROS_H
@@ -130,6 +133,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
/* Define to the version of this package. */
#undef PACKAGE_VERSION
@@ -178,9 +184,17 @@
/* Do we want to use the threaded memory allocator? */
#undef USE_THREAD_ALLOC
-/* 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
/* Is XKeycodeToKeysym deprecated? */
#undef XKEYCODETOKEYSYM_IS_DEPRECATED
@@ -238,7 +252,7 @@
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
-/* Define to `unsigned' if <sys/types.h> does not define. */
+/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t
/* Define to `int' if <sys/types.h> doesn't define. */