From 4d4b7328c7086e61f72259451bb11a20443b397e Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sat, 8 Oct 2005 11:18:14 +0000 Subject: If aclocal.m4 does not exists, run aclocal, so that we can bootstrap. --- eclass/autotools.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 236a650fac95..ccc4486ceefb 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.21 2005/09/08 15:04:47 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.22 2005/10/08 11:18:14 flameeyes Exp $ # # Author: Diego Pettenò # Enhancements: Martin Schlemmer @@ -101,7 +101,7 @@ eaclocal() { done fi - [[ -f aclocal.m4 && -n $(grep -e 'generated.*by aclocal' aclocal.m4) ]] && \ + [[ ! -f aclocal.m4 || -n $(grep -e 'generated.*by aclocal' aclocal.m4) ]] && \ autotools_run_tool aclocal "$@" ${aclocal_opts} } -- cgit v1.2.3-65-gdbad