summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-12 20:29:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-12 20:29:05 (GMT)
commitf2067061a65c27001d806ced018ed3d2a34a35de (patch)
tree1d1b1c43c917856f2045fbcf99e9f459625f2d42 /unix
parent675dc433081e21fce5e85d36ad8a28383cc6883a (diff)
parent5a1c57dc0dca93c9e878f66be5632afe0937784e (diff)
downloadtk-f2067061a65c27001d806ced018ed3d2a34a35de.zip
tk-f2067061a65c27001d806ced018ed3d2a34a35de.tar.gz
tk-f2067061a65c27001d806ced018ed3d2a34a35de.tar.bz2
disallow colors like xellow
cleanup tkInt.decls configure changes for cygwin
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