avoid multiple inclusions when possible to speed caching up
authorMike Frysinger <vapier@gentoo.org>
Tue, 13 Dec 2011 21:28:15 +0000 (21:28 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 13 Dec 2011 21:28:15 +0000 (21:28 +0000)
eclass/autotools.eclass
eclass/libtool.eclass

index 5ee2a3e976e835bb5430154cb81f3e0ae5deae99..b8b878c7e6951381e2896c0faed678b2ce4555b5 100644 (file)
@@ -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/autotools.eclass,v 1.110 2011/11/14 17:08:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.111 2011/12/13 21:27:38 vapier Exp $
 
 # @ECLASS: autotools.eclass
 # @MAINTAINER:
@@ -10,6 +10,9 @@
 # This eclass is for safely handling autotooled software packages that need to
 # regenerate their build scripts.  All functions will abort in case of errors.
 
+if [[ ${___ECLASS_ONCE_AUTOTOOLS} != "recur -_+^+_- spank" ]] ; then
+___ECLASS_ONCE_AUTOTOOLS="recur -_+^+_- spank"
+
 inherit eutils libtool
 
 # @ECLASS-VARIABLE: WANT_AUTOCONF
@@ -399,3 +402,5 @@ autotools_m4dir_include() {
 
        echo $include_opts
 }
+
+fi
index 097612eacc9e5fcb78c0bdedeb1437cd77852c9b..2c4188b752ebf01cac148321d4fa8109fcdbf1dc 100644 (file)
@@ -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