Don't use userland_Darwin useflag, to avoid QA notices all over.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Wed, 31 Aug 2005 20:17:43 +0000 (20:17 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Wed, 31 Aug 2005 20:17:43 +0000 (20:17 +0000)
eclass/autotools.eclass

index b25a07caf4148efd8376a863fa3358d493f7299a..6ae51884fbd308f34aad4736b46c1eb7d7b44628 100644 (file)
@@ -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.17 2005/08/31 01:54:15 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.18 2005/08/31 20:17:43 flameeyes Exp $
 #
 # Author: Diego Pettenò <flameeyes@gentoo.org>
 # Enhancements: Martin Schlemmer <azarah@gentoo.org>
@@ -106,7 +106,7 @@ eaclocal() {
 _elibtoolize() {
        # Check if we should run libtoolize
        [[ -n $(autotools_check_macro "AC_PROG_LIBTOOL") ]] || return 0
-       use userland_Darwin && LIBTOOLIZE="glibtoolize"
+       [[ "${USERLAND}" == "Darwin" ]] && LIBTOOLIZE="glibtoolize"
        autotools_run_tool ${LIBTOOLIZE:-libtoolize} "$@"
 
        # Need to rerun aclocal