Gentoo Archives: gentoo-dev

From: twofourtysix <twofourtysix@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] src_configure
Date: Thu, 07 Jul 2005 07:19:46
Message-Id: 6fd8e3c05070700177a68db60@mail.gmail.com
In Reply to: Re: [gentoo-dev] src_configure by Daniel Drake
1 On 07/07/05, Daniel Drake <dsd@g.o> wrote:
2 > src_configure() {
3 > econf || die
4 > }
5 >
6 > Since econf already checks for a configure script and does nothing if it can't
7 > find one...
8
9 Yours might do. The one I have in /usr/sbin/ebuild.sh from portage
10 2.0.51.22-r1 says this:
11
12 econf() {
13 »·······local LOCAL_EXTRA_ECONF="${EXTRA_ECONF}"
14
15 »·······if [ -z "${ECONF_SOURCE}" ]; then
16 »·······»·······ECONF_SOURCE="."
17 »·······fi
18 »·······if [ -x "${ECONF_SOURCE}/configure" ]; then
19 +----- 78 lines: if [ -e /usr/share/gnuconfig/ ]; then--------------------------
20 »·······else
21 »·······»·······die "no configure script found"
22 »·······fi
23 }
24
25 --
26 gentoo-dev@g.o mailing list