TclOO Package

Artifact [c7ea65afed]
Login

Artifact c7ea65afed9e9a9ad7b7a0b300271ba204f054fb:

Attachment "TclOO_Package-e5b56214c7.patch" to ticket [86dccceffb] added by erikleunissen 2017-06-18 09:10:51.
Only in TclOO_Package-e5b56214c7.new: autom4te.cache
diff -ur TclOO_Package-e5b56214c7.old/config.h.in TclOO_Package-e5b56214c7.new/config.h.in
--- TclOO_Package-e5b56214c7.old/config.h.in	2016-04-20 09:58:21.000000000 +0200
+++ TclOO_Package-e5b56214c7.new/config.h.in	2017-06-17 23:16:06.000000000 +0200
@@ -3,6 +3,9 @@
 /* Define if building universal (internal helper macro) */
 #undef AC_APPLE_UNIVERSAL_BUILD
 
+/* Should always be 1 */
+#undef BUILD_TclOO
+
 /* Do we have the intptr_t type? */
 #undef HAVE_INTPTR_T
 
diff -ur TclOO_Package-e5b56214c7.old/configure.in TclOO_Package-e5b56214c7.new/configure.in
--- TclOO_Package-e5b56214c7.old/configure.in	2016-04-20 09:58:21.000000000 +0200
+++ TclOO_Package-e5b56214c7.new/configure.in	2017-06-17 23:16:28.000000000 +0200
@@ -57,6 +57,10 @@
 AC_SUBST(CLEANFILES)
 AC_DEFINE(USE_TCL_STUBS,[1],[Should always be 1])
 
+dnl# This is necessary to ensure that invocations of autoheader
+dnl# generate a config.in.h that includes the BUILD_TclOO directive.
+AC_DEFINE([BUILD_TclOO], [1], [Should always be 1])
+
 TEA_PROG_TCLSH
 CONFIGURE_OUTPUTS="Makefile tclooConfig.sh config.cache config.log config.status"
 AC_SUBST(CONFIGURE_OUTPUTS)