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 | f701ad99be40f9f0dcefcaa0cf36915771c7959e (patch) | |
tree | 1713a2ea6613828140c992943d7764b84bed4050 /eclass/gnome2.eclass | |
parent | gnome2.eclass works (diff) | |
download | historical-f701ad99be40f9f0dcefcaa0cf36915771c7959e.tar.gz historical-f701ad99be40f9f0dcefcaa0cf36915771c7959e.tar.bz2 historical-f701ad99be40f9f0dcefcaa0cf36915771c7959e.zip |
conditional debugging now
Diffstat (limited to 'eclass/gnome2.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" |