diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-10-08 11:18:14 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-10-08 11:18:14 +0000 |
commit | 4d4b7328c7086e61f72259451bb11a20443b397e (patch) | |
tree | 385bd85b4802a407418d025e8b0cfef0735532f4 /eclass | |
parent | Fix RDEPEND. (diff) | |
download | gentoo-2-4d4b7328c7086e61f72259451bb11a20443b397e.tar.gz gentoo-2-4d4b7328c7086e61f72259451bb11a20443b397e.tar.bz2 gentoo-2-4d4b7328c7086e61f72259451bb11a20443b397e.zip |
If aclocal.m4 does not exists, run aclocal, so that we can bootstrap.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
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ò <flameeyes@gentoo.org> # Enhancements: Martin Schlemmer <azarah@gentoo.org> @@ -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} } |