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

Diff of /eclass/autotools.eclass

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

Revision 1.118 Revision 1.119
1# Copyright 1999-2011 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.118 2012/01/06 21:06:17 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.119 2012/02/12 00:20:54 robbat2 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
252# Runs automake. 252# Runs automake.
253eautomake() { 253eautomake() {
254 local extra_opts 254 local extra_opts
255 local makefile_name 255 local makefile_name
256 256
257 # Some packages might need to skip automake
258 # OpenLDAP is a good example. It does not use automake (all the .in files are
259 # handwritten), but it does AM_INIT_AUTOMAKE in configure.in, for all the
260 # other macros involved
261 [[ ${WANT_AUTOMAKE} == "none" ]] && return 0
262
257 # Run automake if: 263 # Run automake if:
258 # - a Makefile.am type file exists 264 # - a Makefile.am type file exists
259 # - the configure script is using the AM_INIT_AUTOMAKE directive 265 # - the configure script is using the AM_INIT_AUTOMAKE directive
260 for makefile_name in {GNUmakefile,{M,m}akefile}.am "" ; do 266 for makefile_name in {GNUmakefile,{M,m}akefile}.am "" ; do
261 [[ -f ${makefile_name} ]] && break 267 [[ -f ${makefile_name} ]] && break

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119

  ViewVC Help
Powered by ViewVC 1.1.20