diff options
Diffstat (limited to 'generic/tclPkgConfig.c')
-rw-r--r-- | generic/tclPkgConfig.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclPkgConfig.c b/generic/tclPkgConfig.c index 840ebed..72a9b6b 100644 --- a/generic/tclPkgConfig.c +++ b/generic/tclPkgConfig.c @@ -8,6 +8,8 @@ * * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. + * + * RCS: @(#) $Id: tclPkgConfig.c,v 1.5 2008/10/04 11:34:19 nijtmans Exp $ */ /* Note, the definitions in this module are influenced by the following C @@ -22,7 +24,7 @@ * - TCL_COMPILE_STATS OSCMa bytecode compiler statistics. * * - TCL_CFG_DO64BIT NSCMdt tcl is compiled for a 64bit system. - * - NDEBUG NSCMdt tcl is compiled with symbol info off. + * - TCL_CFG_DEBUG NSCMdt tcl is compiled with symbol info on. * - TCL_CFG_OPTIMIZED NSCMdt tcl is compiled with cc optimizations on * - TCL_CFG_PROFILED NSCMdt tcl is compiled with profiling info. * @@ -70,7 +72,7 @@ # define CFG_64 "0" #endif -#ifndef NDEBUG +#ifdef TCL_CFG_DEBUG # define CFG_DEBUG "1" #else # define CFG_DEBUG "0" @@ -88,7 +90,7 @@ # define CFG_PROFILED "0" #endif -static Tcl_Config cfg[] = { +static Tcl_Config const cfg[] = { {"debug", CFG_DEBUG}, {"threaded", CFG_THREADED}, {"profiled", CFG_PROFILED}, |