summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 20:34:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 20:34:07 (GMT)
commit9d4179718912cd5ef32f406e874276806b726f8d (patch)
tree020db13467ebfca10c4f307cd55644e9f167a694 /unix/tcl.m4
parente213e8f1ae973b67d7477c68cae573a9f4badd62 (diff)
parentde998ed83562aa3d55567d0eed70ee1c44d594a2 (diff)
downloadtcl-9d4179718912cd5ef32f406e874276806b726f8d.zip
tcl-9d4179718912cd5ef32f406e874276806b726f8d.tar.gz
tcl-9d4179718912cd5ef32f406e874276806b726f8d.tar.bz2
[Bug 3448512]: clock scan "1958-01-01" fails only in debug compilation
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 74a577d..222c375 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
@@ -749,8 +750,6 @@ AC_DEFUN([SC_ENABLE_SYMBOLS], [
fi
AC_SUBST(CFLAGS_DEFAULT)
AC_SUBST(LDFLAGS_DEFAULT)
- ### FIXME: Surely TCL_CFG_DEBUG should be set to whether we're debugging?
- AC_DEFINE(TCL_CFG_DEBUG, 1, [Is debugging enabled?])
if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
AC_DEFINE(TCL_MEM_DEBUG, 1, [Is memory debugging enabled?])