]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
authorAkim Demaille <akim@epita.fr>
Mon, 10 Jul 2000 10:06:48 +0000 (10:06 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 10 Jul 2000 10:06:48 +0000 (10:06 +0000)
the convention clash with autoconf.sh where `run_foo' is the
command to run `foo'.
(uses_autoheader): New variable.

ChangeLog
autoreconf.in
autoreconf.sh
bin/autoreconf.in

index acc21572e3eaa7291552f80fa8951100eef257b7..0af4f7374bb2683fe772dd0481505a0c4a53e48f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-07-10  Akim Demaille  <akim@epita.fr>
+
+       * autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
+       the convention clash with autoconf.sh where `run_foo' is the
+       command to run `foo'.
+       (uses_autoheader): New variable.
+
 2000-07-10  Akim Demaille  <akim@epita.fr>
 
        * autoreconf.sh (update.sh): New sub program.
index 5700b9c97d8996522cb886abb8431766594a8fc3..87794dac003cdd613c08777f9ae14e0f667493e2 100644 (file)
@@ -246,14 +246,14 @@ while read dir; do
   # Running aclocal.  #
   # ----------------- #
 
-  # run_aclocal -- is this package using aclocal?
-  run_aclocal=false
+  # uses_aclocal -- is this package using aclocal?
+  uses_aclocal=false
   aclocal_dir=`echo $aclocal_m4 | sed 's,/*[^/]*$,,;s,^$,.,'`
   if grep 'generated automatically by aclocal' $aclocal_m4 >/dev/null 2>&1 ||
      test -f "$aclocal_dir/acinclude.m4"; then
-     run_aclocal=:
+     uses_aclocal=:
   fi
-  if $run_aclocal &&
+  if $uses_aclocal &&
      { $force ||
        $update $aclocal_m4 $aclocal_dir/acinclude.m4; } then
      # If there are flags for aclocal in Makefile.am, use them.
@@ -310,10 +310,14 @@ while read dir; do
     stamp=$template_dir/stamp-h$stamp_num.in
     acconfig_h=`echo $localdir_opt | sed -e 's/--localdir=//' \
                                          -e '/./ s%$%/%'`acconfig.h
-    if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
-      if $force ||
+    uses_autoheader=false;
+    if grep autoheader "$template" >/dev/null 2>&1; then
+       uses_autoheader=:
+    fi
+    if $uses_autoheader &&
+       { $force ||
          $update $template $stamp configure.in $aclocal_m4 $acconfig_h ||
-         $update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
+         $update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
         $verbose running $autoheader $localdir_opt in $dir
         $autoheader $localdir_opt &&
         $verbose "touching $stamp" &&
index 5700b9c97d8996522cb886abb8431766594a8fc3..87794dac003cdd613c08777f9ae14e0f667493e2 100644 (file)
@@ -246,14 +246,14 @@ while read dir; do
   # Running aclocal.  #
   # ----------------- #
 
-  # run_aclocal -- is this package using aclocal?
-  run_aclocal=false
+  # uses_aclocal -- is this package using aclocal?
+  uses_aclocal=false
   aclocal_dir=`echo $aclocal_m4 | sed 's,/*[^/]*$,,;s,^$,.,'`
   if grep 'generated automatically by aclocal' $aclocal_m4 >/dev/null 2>&1 ||
      test -f "$aclocal_dir/acinclude.m4"; then
-     run_aclocal=:
+     uses_aclocal=:
   fi
-  if $run_aclocal &&
+  if $uses_aclocal &&
      { $force ||
        $update $aclocal_m4 $aclocal_dir/acinclude.m4; } then
      # If there are flags for aclocal in Makefile.am, use them.
@@ -310,10 +310,14 @@ while read dir; do
     stamp=$template_dir/stamp-h$stamp_num.in
     acconfig_h=`echo $localdir_opt | sed -e 's/--localdir=//' \
                                          -e '/./ s%$%/%'`acconfig.h
-    if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
-      if $force ||
+    uses_autoheader=false;
+    if grep autoheader "$template" >/dev/null 2>&1; then
+       uses_autoheader=:
+    fi
+    if $uses_autoheader &&
+       { $force ||
          $update $template $stamp configure.in $aclocal_m4 $acconfig_h ||
-         $update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
+         $update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
         $verbose running $autoheader $localdir_opt in $dir
         $autoheader $localdir_opt &&
         $verbose "touching $stamp" &&
index 5700b9c97d8996522cb886abb8431766594a8fc3..87794dac003cdd613c08777f9ae14e0f667493e2 100644 (file)
@@ -246,14 +246,14 @@ while read dir; do
   # Running aclocal.  #
   # ----------------- #
 
-  # run_aclocal -- is this package using aclocal?
-  run_aclocal=false
+  # uses_aclocal -- is this package using aclocal?
+  uses_aclocal=false
   aclocal_dir=`echo $aclocal_m4 | sed 's,/*[^/]*$,,;s,^$,.,'`
   if grep 'generated automatically by aclocal' $aclocal_m4 >/dev/null 2>&1 ||
      test -f "$aclocal_dir/acinclude.m4"; then
-     run_aclocal=:
+     uses_aclocal=:
   fi
-  if $run_aclocal &&
+  if $uses_aclocal &&
      { $force ||
        $update $aclocal_m4 $aclocal_dir/acinclude.m4; } then
      # If there are flags for aclocal in Makefile.am, use them.
@@ -310,10 +310,14 @@ while read dir; do
     stamp=$template_dir/stamp-h$stamp_num.in
     acconfig_h=`echo $localdir_opt | sed -e 's/--localdir=//' \
                                          -e '/./ s%$%/%'`acconfig.h
-    if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
-      if $force ||
+    uses_autoheader=false;
+    if grep autoheader "$template" >/dev/null 2>&1; then
+       uses_autoheader=:
+    fi
+    if $uses_autoheader &&
+       { $force ||
          $update $template $stamp configure.in $aclocal_m4 $acconfig_h ||
-         $update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
+         $update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
         $verbose running $autoheader $localdir_opt in $dir
         $autoheader $localdir_opt &&
         $verbose "touching $stamp" &&