summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-04-12 20:29:05 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-04-12 20:29:05 (GMT)
commit06c8b495f07b640b483da7f22d8903f7599c892f (patch)
tree1d1b1c43c917856f2045fbcf99e9f459625f2d42 /unix
parent095f962571f8d9260473dd4aa8e5f5362750e93e (diff)
parentacc3c324fbd1465870d734faa24e973a223228b0 (diff)
downloadtk-06c8b495f07b640b483da7f22d8903f7599c892f.zip
tk-06c8b495f07b640b483da7f22d8903f7599c892f.tar.gz
tk-06c8b495f07b640b483da7f22d8903f7599c892f.tar.bz2
disallow colors like xellow
cleanup tkInt.decls configure changes for cygwin FossilOrigin-Name: 70d7860fb8887db4c40795388a53883fb9573883
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure5
-rw-r--r--unix/tcl.m41
2 files changed, 6 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index e4fbf75..cebf9a5 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7342,6 +7342,11 @@ fi;
if test "$tcl_ok" = "no"; then
CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
+
+cat >>confdefs.h <<\_ACEOF
+#define NDEBUG 1
+_ACEOF
+
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index ca77586..05a155b 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -775,6 +775,7 @@ AC_DEFUN([SC_ENABLE_SYMBOLS], [
if test "$tcl_ok" = "no"; then
CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
+ AC_DEFINE(NDEBUG, 1, [Is no debugging enabled?])
AC_MSG_RESULT([no])
AC_DEFINE(TCL_CFG_OPTIMIZED, 1, [Is this an optimized build?])
else