summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-12 20:41:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-12 20:41:40 (GMT)
commit0a059e0ac765f91e397cbf13a617b6ffe6b1c02a (patch)
tree5fd570527bd745435c774b5b7745a11bf516d6a0 /unix
parentc748766c59dabb2bec19ab6e3a9f3b3b66975a9b (diff)
parentf2067061a65c27001d806ced018ed3d2a34a35de (diff)
downloadtk-0a059e0ac765f91e397cbf13a617b6ffe6b1c02a.zip
tk-0a059e0ac765f91e397cbf13a617b6ffe6b1c02a.tar.gz
tk-0a059e0ac765f91e397cbf13a617b6ffe6b1c02a.tar.bz2
minor clean-up of tkInt.decls
disallow colors like xellow 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 ac2c375..7c8b7cf 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7156,6 +7156,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 74a577d..28b323f 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -738,6 +738,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