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

Diff of /eclass/autotools.eclass

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

Revision 1.77 Revision 1.78
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.77 2008/06/09 09:09:58 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.78 2008/07/31 19:13:57 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
79# 79#
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
85 [[ -f .eautoreconfd ]] && einfo "eautoreconf already ran, skipping" && return 0
86 touch .eautoreconfd
84 87
85 if [[ -z ${AT_NO_RECURSIVE} ]]; then 88 if [[ -z ${AT_NO_RECURSIVE} ]]; then
86 # Take care of subdirs 89 # Take care of subdirs
87 for x in $(autotools_get_subdirs); do 90 for x in $(autotools_get_subdirs); do
88 if [[ -d ${x} ]] ; then 91 if [[ -d ${x} ]] ; then

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

  ViewVC Help
Powered by ViewVC 1.1.20