summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 21:03:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 21:03:49 (GMT)
commitbd36f63f8d6cf4129fd3af94e276b4ad9987562e (patch)
tree437ec18665aa5e9e0a85d4c2a4b7e0428155441b /win/tcl.m4
parent51a4b5f8807bc1e0df2e06087292df90c7777f50 (diff)
parentf05db2499a1f26791588140d9c283f7ee8e7c23a (diff)
downloadtcl-bd36f63f8d6cf4129fd3af94e276b4ad9987562e.zip
tcl-bd36f63f8d6cf4129fd3af94e276b4ad9987562e.tar.gz
tcl-bd36f63f8d6cf4129fd3af94e276b4ad9987562e.tar.bz2
merge core-8-4-branch
Diffstat (limited to 'win/tcl.m4')
-rwxr-xr-xwin/tcl.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index ab47afc..708efc48 100755
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -38,7 +38,6 @@ AC_DEFUN([SC_PATH_TCLCONFIG], [
AC_MSG_ERROR(There is no tclConfig.sh in $TCL_BIN_DIR: perhaps you did not specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?)
fi
TCL_BIN_DIR=`cd ${TCL_BIN_DIR}/../unix; pwd`
- CFLAGS="$CFLAGS -mwin32"
fi
AC_MSG_RESULT($TCL_BIN_DIR/tclConfig.sh)
])
@@ -304,6 +303,7 @@ AC_DEFUN([SC_ENABLE_SYMBOLS], [
CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
DBGX=""
+ AC_DEFINE(NDEBUG, 1, [Is no debugging enabled?])
AC_MSG_RESULT([no])
else
CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
@@ -317,12 +317,12 @@ AC_DEFUN([SC_ENABLE_SYMBOLS], [
AC_SUBST(LDFLAGS_DEFAULT)
if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
- AC_DEFINE(TCL_MEM_DEBUG)
+ AC_DEFINE(TCL_MEM_DEBUG, 1, [Is memory debugging enabled?])
fi
if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
- AC_DEFINE(TCL_COMPILE_DEBUG)
- AC_DEFINE(TCL_COMPILE_STATS)
+ AC_DEFINE(TCL_COMPILE_DEBUG, 1, [Is bytecode debugging enabled?])
+ AC_DEFINE(TCL_COMPILE_STATS, 1, [Are bytecode statistics enabled?])
fi
if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then