diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-23 02:21:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-02-23 02:21:21 +0000 |
commit | 948ff165752b81bf6a32f8fa41a3207d21384685 (patch) | |
tree | 3400529ff45271852f44c8bb7fa94445797e4a3e /eclass | |
parent | This builds on amd64 too! Add ~amd64. (diff) | |
download | historical-948ff165752b81bf6a32f8fa41a3207d21384685.tar.gz historical-948ff165752b81bf6a32f8fa41a3207d21384685.tar.bz2 historical-948ff165752b81bf6a32f8fa41a3207d21384685.zip |
newer libtool versions have an --install flag for copying/updating helper files
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools.eclass | 10 |
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} |