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

Diff of /eclass/autotools.eclass

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

Revision 1.79 Revision 1.80
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.79 2008/07/31 19:54:33 drac Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.80 2008/07/31 20:45:41 darkside 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
80# Should do a full autoreconf - normally what most people will be interested in. 80# Should do a full autoreconf - normally what most people will be interested in.
81# Also should handle additional directories specified by AC_CONFIG_SUBDIRS. 81# Also should handle additional directories specified by AC_CONFIG_SUBDIRS.
82eautoreconf() { 82eautoreconf() {
83 local pwd=$(pwd) x auxdir 83 local pwd=$(pwd) x auxdir
84 84
85 [[ -f .eautoreconfd ]] && einfo "eautoreconf already ran, skipping" && return 0
86 >> .eautoreconfd
87
88 if [[ -z ${AT_NO_RECURSIVE} ]]; then 85 if [[ -z ${AT_NO_RECURSIVE} ]]; then
89 # Take care of subdirs 86 # Take care of subdirs
90 for x in $(autotools_get_subdirs); do 87 for x in $(autotools_get_subdirs); do
91 if [[ -d ${x} ]] ; then 88 if [[ -d ${x} ]] ; then
92 cd "${x}" 89 cd "${x}"

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

  ViewVC Help
Powered by ViewVC 1.1.20