summaryrefslogtreecommitdiffstats
path: root/shellicon
diff options
context:
space:
mode:
authortreectrl <treectrl>2007-02-02 20:34:01 (GMT)
committertreectrl <treectrl>2007-02-02 20:34:01 (GMT)
commitf89c2cce1372121ce04f57aa18213d8b2ee095fb (patch)
tree6891019df50de2192133376461bf7c9c302ea877 /shellicon
parente9d4195f3e67dc6752c1da5566504dee75090335 (diff)
downloadtktreectrl-f89c2cce1372121ce04f57aa18213d8b2ee095fb.zip
tktreectrl-f89c2cce1372121ce04f57aa18213d8b2ee095fb.tar.gz
tktreectrl-f89c2cce1372121ce04f57aa18213d8b2ee095fb.tar.bz2
Pass -DTREECTRL_DEBUG to the compiler when --enable-symbols is not "no".
Diffstat (limited to 'shellicon')
-rw-r--r--shellicon/configure7
-rw-r--r--shellicon/configure.ac6
2 files changed, 12 insertions, 1 deletions
diff --git a/shellicon/configure b/shellicon/configure
index 2f2b6c0..86baad9 100644
--- a/shellicon/configure
+++ b/shellicon/configure
@@ -11942,6 +11942,13 @@ echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }
fi
+if test "${enable_symbols+set}" = set && test "$enable_symbols" != no; then
+
+ PKG_CFLAGS="$PKG_CFLAGS -DTREECTRL_DEBUG"
+
+
+fi
+
#--------------------------------------------------------------------
# Everyone should be linking against the Tcl stub library. If you
# can't for some reason, remove this definition. If you aren't using
diff --git a/shellicon/configure.ac b/shellicon/configure.ac
index 06dd944..457b2ec 100644
--- a/shellicon/configure.ac
+++ b/shellicon/configure.ac
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.ac,v 1.1 2007/01/31 00:45:55 treectrl Exp $
+# RCS: @(#) $Id: configure.ac,v 1.2 2007/02/02 20:34:01 treectrl Exp $
#-----------------------------------------------------------------------
# Sample configure.in for Tcl Extensions.
@@ -154,6 +154,10 @@ TEA_CONFIG_CFLAGS
TEA_ENABLE_SYMBOLS
+if test "${enable_symbols+set}" = set && test "$enable_symbols" != no; then
+ TEA_ADD_CFLAGS([-DTREECTRL_DEBUG])
+fi
+
#--------------------------------------------------------------------
# Everyone should be linking against the Tcl stub library. If you
# can't for some reason, remove this definition. If you aren't using