summaryrefslogtreecommitdiffstats
path: root/unix/tkConfig.h.in
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-06 15:09:45 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-06 15:09:45 (GMT)
commite2ac5a4b6c3a15ab68a50ea396b0ae86587733aa (patch)
tree1447692cffff558048753ec4b5b17bb813e30cc8 /unix/tkConfig.h.in
parent8938dd0b4f3a00ed435e9fa47f968535e08641ee (diff)
downloadtk-e2ac5a4b6c3a15ab68a50ea396b0ae86587733aa.zip
tk-e2ac5a4b6c3a15ab68a50ea396b0ae86587733aa.tar.gz
tk-e2ac5a4b6c3a15ab68a50ea396b0ae86587733aa.tar.bz2
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 8750b86..74f6d73 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
+
/* Is pthread_attr_get_np() declared in <pthread.h>? */
#undef ATTRGETNP_NOT_DECLARED
@@ -139,6 +142,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
@@ -187,9 +193,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
/* Are Darwin SUSv3 extensions available? */
#undef _DARWIN_C_SOURCE
@@ -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
/* Do we want to use the strtod() in compat? */