* autoreconf.sh (find): Fix precedence.

(aclocal): Same as below for autoheader.
This commit is contained in:
Akim Demaille 2001-01-26 16:10:42 +00:00
parent 88d2fd8441
commit 5b494c3353
4 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2001-01-26 Assar Westerlund <assar@sics.se>
* autoreconf.sh (find): Fix precedence.
(aclocal): Same as below for autoheader.
2001-01-26 Akim Demaille <akim@epita.fr>
* autoreconf.sh (autoheader): Run it when there is no template, as

View File

@ -298,7 +298,7 @@ update="@SHELL@ $tmp/update.sh"
# Make a list of directories to process.
# The xargs grep filters out Cygnus configure.in files.
find . -name configure.ac -o -name configure.in -print |
find . '(' -name configure.ac -o -name configure.in ')' -print |
xargs grep -l AC_INIT |
sed 's,/configure\.ac$,,;s,/configure\.in$,,;s,^./,,' |
while read dir; do
@ -312,10 +312,10 @@ while read dir; do
# uses_aclocal -- is this package using aclocal?
uses_aclocal=false
if grep 'generated .* by aclocal' $localdir/aclocal.m4 >/dev/null 2>&1 ||
test -f "$localdir/acinclude.m4"; then
grep 'generated .* by aclocal' $localdir/aclocal.m4 >/dev/null 2>&1 &&
uses_aclocal=:
test -f "$localdir/aclocal.m4" ||
uses_aclocal=:
fi
if $uses_aclocal &&
{ $force ||
$update $localdir/aclocal.m4 $localdir/acinclude.m4; } then

View File

@ -298,7 +298,7 @@ update="@SHELL@ $tmp/update.sh"
# Make a list of directories to process.
# The xargs grep filters out Cygnus configure.in files.
find . -name configure.ac -o -name configure.in -print |
find . '(' -name configure.ac -o -name configure.in ')' -print |
xargs grep -l AC_INIT |
sed 's,/configure\.ac$,,;s,/configure\.in$,,;s,^./,,' |
while read dir; do
@ -312,10 +312,10 @@ while read dir; do
# uses_aclocal -- is this package using aclocal?
uses_aclocal=false
if grep 'generated .* by aclocal' $localdir/aclocal.m4 >/dev/null 2>&1 ||
test -f "$localdir/acinclude.m4"; then
grep 'generated .* by aclocal' $localdir/aclocal.m4 >/dev/null 2>&1 &&
uses_aclocal=:
test -f "$localdir/aclocal.m4" ||
uses_aclocal=:
fi
if $uses_aclocal &&
{ $force ||
$update $localdir/aclocal.m4 $localdir/acinclude.m4; } then

View File

@ -298,7 +298,7 @@ update="@SHELL@ $tmp/update.sh"
# Make a list of directories to process.
# The xargs grep filters out Cygnus configure.in files.
find . -name configure.ac -o -name configure.in -print |
find . '(' -name configure.ac -o -name configure.in ')' -print |
xargs grep -l AC_INIT |
sed 's,/configure\.ac$,,;s,/configure\.in$,,;s,^./,,' |
while read dir; do
@ -312,10 +312,10 @@ while read dir; do
# uses_aclocal -- is this package using aclocal?
uses_aclocal=false
if grep 'generated .* by aclocal' $localdir/aclocal.m4 >/dev/null 2>&1 ||
test -f "$localdir/acinclude.m4"; then
grep 'generated .* by aclocal' $localdir/aclocal.m4 >/dev/null 2>&1 &&
uses_aclocal=:
test -f "$localdir/aclocal.m4" ||
uses_aclocal=:
fi
if $uses_aclocal &&
{ $force ||
$update $localdir/aclocal.m4 $localdir/acinclude.m4; } then