summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-31 10:25:56 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-31 10:25:56 +0000
commitfd4b3703b3d45f30eb1f6e903497fd9a72ea5dc1 (patch)
tree084a25f11a04f30b49cda0002c2dad060a8fcf18 /eclass/autotools.eclass
parentRemove old 2.4 changelog.bz2 (diff)
downloadgentoo-2-fd4b3703b3d45f30eb1f6e903497fd9a72ea5dc1.tar.gz
gentoo-2-fd4b3703b3d45f30eb1f6e903497fd9a72ea5dc1.tar.bz2
gentoo-2-fd4b3703b3d45f30eb1f6e903497fd9a72ea5dc1.zip
For safety, run elibtoolize after finishing eautoreconf, so that if people run it _before_ eautoreconf it won't get undone.
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 1b54254aa59e..fc34b9a3cd79 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.29 2006/01/18 23:04:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.30 2006/01/31 10:25:56 flameeyes Exp $
#
# Author: Diego Pettenò <flameeyes@gentoo.org>
# Enhancements: Martin Schlemmer <azarah@gentoo.org>
@@ -10,7 +10,7 @@
#
# NB: If you add anything, please comment it!
-inherit eutils gnuconfig
+inherit eutils gnuconfig libtool
DEPEND="sys-devel/automake
sys-devel/autoconf
@@ -70,6 +70,10 @@ eautoreconf() {
# Normally run by econf()
[[ ${AT_GNUCONF_UPDATE} == "yes" ]] && gnuconfig_update
+ # Call it here to prevent failures due to elibtoolize called _before_
+ # eautoreconf.
+ elibtoolize
+
return 0
}