autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoreconf only runs autoheader if it has already been done?


From: Assar Westerlund
Subject: Re: autoreconf only runs autoheader if it has already been done?
Date: 26 Jan 2001 16:36:36 +0100
User-agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6

Akim Demaille <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]