diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-11 20:34:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-11 20:34:07 (GMT) |
commit | 9d4179718912cd5ef32f406e874276806b726f8d (patch) | |
tree | 020db13467ebfca10c4f307cd55644e9f167a694 /unix/tcl.m4 | |
parent | e213e8f1ae973b67d7477c68cae573a9f4badd62 (diff) | |
parent | de998ed83562aa3d55567d0eed70ee1c44d594a2 (diff) | |
download | tcl-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.m4 | 3 |
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?]) |