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

Diff of /eclass/autotools.eclass

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

Revision 1.137 Revision 1.138
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.137 2012/05/20 12:58:23 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.138 2012/05/20 13:01:22 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
281 for makefile_name in {GNUmakefile,{M,m}akefile}.am "" ; do 281 for makefile_name in {GNUmakefile,{M,m}akefile}.am "" ; do
282 [[ -f ${makefile_name} ]] && break 282 [[ -f ${makefile_name} ]] && break
283 done 283 done
284 284
285 if [[ -z ${makefile_name} ]] ; then 285 if [[ -z ${makefile_name} ]] ; then
286 # Really we should just use autotools_check_macro ... 286 [[ -n $(autotools_check_macro AM_INIT_AUTOMAKE) ]] || return 0
287 local am_init_automake=$(sed -n '/AM_INIT_AUTOMAKE/{s:#.*::;s:\<dnl\>.*::;p}' configure.??)
288 if [[ ${am_init_automake} != *"AM_INIT_AUTOMAKE"* ]] ; then
289 return 0
290 fi
291 287
292 elif [[ -z ${FROM_EAUTORECONF} && -f ${makefile_name%.am}.in ]]; then 288 elif [[ -z ${FROM_EAUTORECONF} && -f ${makefile_name%.am}.in ]]; then
293 local used_automake 289 local used_automake
294 local installed_automake 290 local installed_automake
295 291

Legend:
Removed from v.1.137  
changed lines
  Added in v.1.138

  ViewVC Help
Powered by ViewVC 1.1.20