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

Diff of /eclass/autotools.eclass

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

Revision 1.105 Revision 1.106
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.105 2011/08/22 18:22:27 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.106 2011/08/22 19:39:52 vapier 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
56 case ${WANT_AUTOCONF} in 56 case ${WANT_AUTOCONF} in
57 none) _autoconf_atom="" ;; # some packages don't require autoconf at all 57 none) _autoconf_atom="" ;; # some packages don't require autoconf at all
58 2.1) _autoconf_atom="=sys-devel/autoconf-${WANT_AUTOCONF}*" ;; 58 2.1) _autoconf_atom="=sys-devel/autoconf-${WANT_AUTOCONF}*" ;;
59 # if you change the “latest” version here, change also autotools_run_tool 59 # if you change the “latest” version here, change also autotools_run_tool
60 latest|2.5) _autoconf_atom=">=sys-devel/autoconf-2.61" ;; 60 latest|2.5) _autoconf_atom=">=sys-devel/autoconf-2.61" ;;
61 *) _autoconf_atom="INCORRECT-WANT_AUTOCONF-SETTING-IN-EBUILD" ;; 61 *) die "Invalid WANT_AUTOCONF value '${WANT_AUTOCONF}'" ;;
62 esac 62 esac
63 export WANT_AUTOCONF 63 export WANT_AUTOCONF
64fi 64fi
65 65
66_libtool_atom="sys-devel/libtool" 66_libtool_atom="sys-devel/libtool"
67if [[ -n ${WANT_LIBTOOL} ]] ; then 67if [[ -n ${WANT_LIBTOOL} ]] ; then
68 case ${WANT_LIBTOOL} in 68 case ${WANT_LIBTOOL} in
69 none) _libtool_atom="" ;; 69 none) _libtool_atom="" ;;
70 latest) ;; 70 latest) ;;
71 *) _libtool_atom="INCORRECT-WANT_LIBTOOL-SETTING-IN-EBUILD" ;; 71 *) die "Invalid WANT_LIBTOOL value '${WANT_LIBTOOL}'" ;;
72 esac 72 esac
73 export WANT_LIBTOOL 73 export WANT_LIBTOOL
74fi 74fi
75 75
76AUTOTOOLS_DEPEND="${_automake_atom} ${_autoconf_atom} ${_libtool_atom}" 76AUTOTOOLS_DEPEND="${_automake_atom} ${_autoconf_atom} ${_libtool_atom}"

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.106

  ViewVC Help
Powered by ViewVC 1.1.20