Akim Demaille <[EMAIL PROTECTED]> writes:
> So I'm adjusting your patch so that when there is no config.hin,
> then autoheader is run, since it's harmless.

Good.  Shouldn't the same thing be done with running aclocal, see
patch below?

/assar

Index: autoreconf.sh
===================================================================
RCS file: /cvs/autoconf/autoreconf.sh,v
retrieving revision 1.65
diff -u -w -u -w -r1.65 autoreconf.sh
--- autoreconf.sh       2001/01/26 14:42:14     1.65
+++ autoreconf.sh       2001/01/26 15:18:55
@@ -312,10 +312,10 @@
 
   # 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=:
-  fi
+  test -f "$localdir/aclocal.m4" || 
+     uses_aclocal=:
   if $uses_aclocal &&
      { $force ||
        $update $localdir/aclocal.m4 $localdir/acinclude.m4; } then

Reply via email to