summaryrefslogtreecommitdiffstats
path: root/unix/tkConfig.h.in
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-09-18 20:45:07 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-09-18 20:45:07 (GMT)
commit66c995f37fca5f1b4b6891c504e9313e0766e41a (patch)
treea9ebb7755a0d67aad6988e9fd5582c975ad1da85 /unix/tkConfig.h.in
parenta7ed3710535ad02489545afd8bd9bb587b7cfdd8 (diff)
parent9de17190796f13eb936f98f1d5529dae888fe83b (diff)
downloadtk-66c995f37fca5f1b4b6891c504e9313e0766e41a.zip
tk-66c995f37fca5f1b4b6891c504e9313e0766e41a.tar.gz
tk-66c995f37fca5f1b4b6891c504e9313e0766e41a.tar.bz2
merge release branch
Diffstat (limited to 'unix/tkConfig.h.in')
-rw-r--r--unix/tkConfig.h.in31
1 files changed, 24 insertions, 7 deletions
diff --git a/unix/tkConfig.h.in b/unix/tkConfig.h.in
index 3318552..d27c6e8 100644
--- a/unix/tkConfig.h.in
+++ b/unix/tkConfig.h.in
@@ -4,9 +4,15 @@
#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
+/* Defined when compiler supports casting to union type. */
+#undef HAVE_CAST_TO_UNION
+
/* Do we have access to Darwin CoreFoundation.framework? */
#undef HAVE_COREFOUNDATION
@@ -94,6 +100,9 @@
/* No Compiler support for module scope symbols */
#undef MODULE_SCOPE
+/* Is no debugging enabled? */
+#undef NDEBUG
+
/* Is Darwin CoreFoundation unavailable for 64-bit? */
#undef NO_COREFOUNDATION_64
@@ -121,6 +130,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
@@ -130,9 +142,6 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
-/* Is debugging enabled? */
-#undef TCL_CFG_DEBUG
-
/* Is this a 64-bit build? */
#undef TCL_CFG_DO64BIT
@@ -172,9 +181,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
@@ -229,7 +246,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? */