(aclocal): Same as below for autoheader.
+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
# 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
# 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
# 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
# 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
# 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
# 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