vapier      14/11/13 17:14:22

  Modified:             autotools.eclass
  Log:
  force recent libtool and drop the libtoolize --install probing #529008 by 
Alexander Tsoy

Revision  Changes    Path
1.164                eclass/autotools.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?rev=1.164&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?rev=1.164&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?r1=1.163&r2=1.164

Index: autotools.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -r1.163 -r1.164
--- autotools.eclass    12 Aug 2014 12:15:55 -0000      1.163
+++ autotools.eclass    13 Nov 2014 17:14:22 -0000      1.164
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.163 2014/08/12 
12:15:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.164 2014/11/13 
17:14:22 vapier Exp $
 
 # @ECLASS: autotools.eclass
 # @MAINTAINER:
@@ -80,7 +80,7 @@
        export WANT_AUTOCONF
 fi
 
-_libtool_atom="sys-devel/libtool"
+_libtool_atom=">=sys-devel/libtool-2.4"
 if [[ -n ${WANT_LIBTOOL} ]] ; then
        case ${WANT_LIBTOOL} in
                none)   _libtool_atom="" ;;
@@ -301,17 +301,13 @@
 
 # @FUNCTION: _elibtoolize
 # @DESCRIPTION:
-# Runs libtoolize.  If --install is the first arg, automatically drop it if
-# the active libtool version doesn't support it.
+# Runs libtoolize.
 #
-# Note the '_' prefix .. to not collide with elibtoolize() from libtool.eclass.
+# Note the '_' prefix: avoid collision with elibtoolize() from libtool.eclass.
 _elibtoolize() {
        local LIBTOOLIZE=${LIBTOOLIZE:-$(type -P glibtoolize > /dev/null && 
echo glibtoolize || echo libtoolize)}
 
        [[ -f GNUmakefile.am || -f Makefile.am ]] && set -- "$@" --automake
-       if [[ $1 == "--install" ]] ; then
-               ${LIBTOOLIZE} -n --install >& /dev/null || shift
-       fi
 
        autotools_run_tool ${LIBTOOLIZE} "$@" ${opts}
 }




Reply via email to