diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-07-18 13:08:37 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-07-18 13:08:37 +0000 |
commit | 70fc6b9fb53fa948acbe20b13e1214cc8bf9a76b (patch) | |
tree | 86a1c066c3e39582c265ff5912652bf695eecc22 /eclass | |
parent | gnome2.eclass works (diff) | |
download | gentoo-2-70fc6b9fb53fa948acbe20b13e1214cc8bf9a76b.tar.gz gentoo-2-70fc6b9fb53fa948acbe20b13e1214cc8bf9a76b.tar.bz2 gentoo-2-70fc6b9fb53fa948acbe20b13e1214cc8bf9a76b.zip |
conditional debugging now
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnome2.eclass | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index b69200f33cc0..4022420bbf86 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -1,9 +1,14 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.18 2002/07/12 15:24:36 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.19 2002/07/18 13:08:37 spider Exp $ inherit libtool + +if [ -n "$DEBUG" ] +then inherit debug +fi + # Authors: # Bruce A. Locke <blocke@shivan.org> # Spidler <spidler@gentoo.org> @@ -11,8 +16,12 @@ inherit debug # Gnome 2 ECLASS ECLASS="gnome2" INHERITED="$INHERITED $ECLASS" +G2CONF="" + +if [ -n "$DEBUG" ]; then + G2CONF="${G2CONF} --enable-debug=yes" +fi -G2CONF="--enable-debug=yes" ELTCONF="" SCROLLKEEPER_UPDATE="0" |