summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-23 02:21:21 +0000
committerMike Frysinger <vapier@gentoo.org>2008-02-23 02:21:21 +0000
commitdf095186057da1bcf32121edc228709486f6dbb6 (patch)
tree7193355476980dcb5e48a1a2d7f55e523c11a956 /eclass/autotools.eclass
parentThis builds on amd64 too! Add ~amd64. (diff)
downloadgentoo-2-df095186057da1bcf32121edc228709486f6dbb6.tar.gz
gentoo-2-df095186057da1bcf32121edc228709486f6dbb6.tar.bz2
gentoo-2-df095186057da1bcf32121edc228709486f6dbb6.zip
newer libtool versions have an --install flag for copying/updating helper files
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 7a4e30f727b5..d4afc75aabb0 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.71 2008/01/25 22:45:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.72 2008/02/23 02:21:21 vapier Exp $
#
# Maintainer: base-system@gentoo.org
#
@@ -92,7 +92,11 @@ eautoreconf() {
einfo "Running eautoreconf in '$(pwd)' ..."
[[ -n ${auxdir} ]] && mkdir -p ${auxdir}
eaclocal
- _elibtoolize --copy --force
+ if ${LIBTOOLIZE:-libtoolize} -n --install >& /dev/null ; then
+ _elibtoolize --copy --force --install
+ else
+ _elibtoolize --copy --force
+ fi
eautoconf
eautoheader
FROM_EAUTORECONF="yes" eautomake ${AM_OPTS}