diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-13 21:28:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-13 21:28:15 +0000 |
commit | 77676c3da854337104d5237e3110f832660d2f0a (patch) | |
tree | 0787567033dbdae4fc400a87e9238a067fb2ea5d /eclass/libtool.eclass | |
parent | Remove old. (diff) | |
download | historical-77676c3da854337104d5237e3110f832660d2f0a.tar.gz historical-77676c3da854337104d5237e3110f832660d2f0a.tar.bz2 historical-77676c3da854337104d5237e3110f832660d2f0a.zip |
avoid multiple inclusions when possible to speed caching up
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r-- | eclass/libtool.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index 097612eacc9e..2c4188b752eb 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.96 2011/11/18 17:32:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.97 2011/12/13 21:28:15 vapier Exp $ # @ECLASS: libtool.eclass # @MAINTAINER: @@ -14,6 +14,9 @@ # generated libtool files. We do not run the libtoolize program because that # requires a regeneration of the main autotool files in order to work properly. +if [[ ${___ECLASS_ONCE_LIBTOOL} != "recur -_+^+_- spank" ]] ; then +___ECLASS_ONCE_LIBTOOL="recur -_+^+_- spank" + # If an overlay has eclass overrides, but doesn't actually override the # libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's # eclass/ dir, but libtool.eclass is still in the main Gentoo tree. So @@ -497,3 +500,5 @@ VER_to_int() { echo 1 return 1 } + +fi |