/[gentoo-x86]/eclass/autotools.eclass
Gentoo

Diff of /eclass/autotools.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.142 Revision 1.143
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.142 2012/05/24 01:13:32 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.143 2012/06/05 18:31:54 grobian Exp $
4 4
5# @ECLASS: autotools.eclass 5# @ECLASS: autotools.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: Regenerates auto* build scripts 8# @BLURB: Regenerates auto* build scripts
274# the active libtool version doesn't support it. 274# the active libtool version doesn't support it.
275# 275#
276# Note the '_' prefix .. to not collide with elibtoolize() from libtool.eclass. 276# Note the '_' prefix .. to not collide with elibtoolize() from libtool.eclass.
277_elibtoolize() { 277_elibtoolize() {
278 local LIBTOOLIZE=${LIBTOOLIZE:-libtoolize} 278 local LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
279 type -P glibtoolize && LIBTOOLIZE=glibtoolize 279 type -P glibtoolize > /dev/null && LIBTOOLIZE=glibtoolize
280 280
281 [[ -f GNUmakefile.am || -f Makefile.am ]] && set -- "$@" --automake 281 [[ -f GNUmakefile.am || -f Makefile.am ]] && set -- "$@" --automake
282 if [[ $1 == "--install" ]] ; then 282 if [[ $1 == "--install" ]] ; then
283 ${LIBTOOLIZE} -n --install >& /dev/null || shift 283 ${LIBTOOLIZE} -n --install >& /dev/null || shift
284 fi 284 fi

Legend:
Removed from v.1.142  
changed lines
  Added in v.1.143

  ViewVC Help
Powered by ViewVC 1.1.20