]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoreconf.sh (force): Instead of yes/no, use :/false.
authorAkim Demaille <akim@epita.fr>
Mon, 10 Jul 2000 08:54:41 +0000 (08:54 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 10 Jul 2000 08:54:41 +0000 (08:54 +0000)
Adjust the code.
(automake_deps, automake_force): No longer used.

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

index 16a51bf018fcbebf4092f3048048e88634be6380..66eb69b5e586c1b2a08e44a5d76d146bd92b7caf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-07-10  Akim Demaille  <akim@epita.fr>
+
+       * autoreconf.sh (force): Instead of yes/no, use :/false.
+       Adjust the code.
+       (automake_deps, automake_force): No longer used.
+
 2000-07-10  Akim Demaille  <akim@epita.fr>
 
        * acgeneral.m4 (AC_DIRNAME): Use an `expr' solution instead of
index 4dae1a9830ca8834bc3107e8b41623cd9e3c5c58..47036d64e0d8026ae80507a2dcbeeb21ad339b76 100644 (file)
@@ -79,7 +79,7 @@ if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 # Variables.
 : ${AC_MACRODIR=@datadir@}
 dir=`echo "$0" | sed -e 's/[^/]*$//'`
-force=no
+force=false
 localdir=.
 verbose=:
 
@@ -136,7 +136,7 @@ while test $# -gt 0; do
        shift ;;
 
      --force | -f )
-       force=yes; shift ;;
+       force=:; shift ;;
 
      # Options of Automake.
      --cygnus | --foreign | --gnits | --gnu | --include-deps | -i )
@@ -165,7 +165,7 @@ fi
 # Dispatch autoreconf's option to the tools.
 autoconf="$autoconf -l $localdir `$verbose --verbose`"
 autoheader="$autoheader -l $localdir `$verbose --verbose`"
-test $force = no && automake="$automake --no-force"
+$force || automake="$automake --no-force"
 automake="$automake `$verbose --verbose`"
 aclocal="$aclocal `$verbose --verbose`"
 export AC_MACRODIR
@@ -219,7 +219,7 @@ while read dir; do
   p
   q
 }' Makefile.in 2>/dev/null`
-     if test $force = no &&
+     if $force &&
         ls -lt configure.in $aclocal_m4 $aclocal_dir/acinclude.m4 2>/dev/null|
        sed 1q |
         grep 'aclocal\.m4$' > /dev/null
@@ -238,13 +238,13 @@ while read dir; do
   # Re-run automake if required.  Assumes that there is a Makefile.am
   # in the topmost directory.
   if test -f Makefile.am; then
-     $verbose running $automake $amforce in $dir
-     $automake $amforce $automake_mode $automake_deps
+     $verbose running $automake in $dir
+     $automake
   fi
 
   test ! -f $aclocal_m4 && aclocal_m4=
 
-  if test $force = no && test -f configure &&
+  if $force && test -f configure &&
     ls -lt configure configure.in $aclocal_m4 | sed 1q |
       grep 'configure$' > /dev/null
   then
@@ -270,7 +270,7 @@ while read dir; do
       '`
     stamp=`echo $template | sed 's,/*[^/]*$,,;s,^$,.,'`/stamp-h`test "$tcount" -gt 1 && echo "$tcount"`.in
     if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
-      if test $force = no && test -f $template &&
+      if $force && test -f $template &&
         ls -lt $template configure.in $aclocal_m4 $stamp 2>/dev/null \
                `echo $localdir_opt | sed -e 's/--localdir=//' \
                                          -e '/./ s%$%/%'`acconfig.h |
index 4dae1a9830ca8834bc3107e8b41623cd9e3c5c58..47036d64e0d8026ae80507a2dcbeeb21ad339b76 100644 (file)
@@ -79,7 +79,7 @@ if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 # Variables.
 : ${AC_MACRODIR=@datadir@}
 dir=`echo "$0" | sed -e 's/[^/]*$//'`
-force=no
+force=false
 localdir=.
 verbose=:
 
@@ -136,7 +136,7 @@ while test $# -gt 0; do
        shift ;;
 
      --force | -f )
-       force=yes; shift ;;
+       force=:; shift ;;
 
      # Options of Automake.
      --cygnus | --foreign | --gnits | --gnu | --include-deps | -i )
@@ -165,7 +165,7 @@ fi
 # Dispatch autoreconf's option to the tools.
 autoconf="$autoconf -l $localdir `$verbose --verbose`"
 autoheader="$autoheader -l $localdir `$verbose --verbose`"
-test $force = no && automake="$automake --no-force"
+$force || automake="$automake --no-force"
 automake="$automake `$verbose --verbose`"
 aclocal="$aclocal `$verbose --verbose`"
 export AC_MACRODIR
@@ -219,7 +219,7 @@ while read dir; do
   p
   q
 }' Makefile.in 2>/dev/null`
-     if test $force = no &&
+     if $force &&
         ls -lt configure.in $aclocal_m4 $aclocal_dir/acinclude.m4 2>/dev/null|
        sed 1q |
         grep 'aclocal\.m4$' > /dev/null
@@ -238,13 +238,13 @@ while read dir; do
   # Re-run automake if required.  Assumes that there is a Makefile.am
   # in the topmost directory.
   if test -f Makefile.am; then
-     $verbose running $automake $amforce in $dir
-     $automake $amforce $automake_mode $automake_deps
+     $verbose running $automake in $dir
+     $automake
   fi
 
   test ! -f $aclocal_m4 && aclocal_m4=
 
-  if test $force = no && test -f configure &&
+  if $force && test -f configure &&
     ls -lt configure configure.in $aclocal_m4 | sed 1q |
       grep 'configure$' > /dev/null
   then
@@ -270,7 +270,7 @@ while read dir; do
       '`
     stamp=`echo $template | sed 's,/*[^/]*$,,;s,^$,.,'`/stamp-h`test "$tcount" -gt 1 && echo "$tcount"`.in
     if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
-      if test $force = no && test -f $template &&
+      if $force && test -f $template &&
         ls -lt $template configure.in $aclocal_m4 $stamp 2>/dev/null \
                `echo $localdir_opt | sed -e 's/--localdir=//' \
                                          -e '/./ s%$%/%'`acconfig.h |
index 4dae1a9830ca8834bc3107e8b41623cd9e3c5c58..47036d64e0d8026ae80507a2dcbeeb21ad339b76 100644 (file)
@@ -79,7 +79,7 @@ if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 # Variables.
 : ${AC_MACRODIR=@datadir@}
 dir=`echo "$0" | sed -e 's/[^/]*$//'`
-force=no
+force=false
 localdir=.
 verbose=:
 
@@ -136,7 +136,7 @@ while test $# -gt 0; do
        shift ;;
 
      --force | -f )
-       force=yes; shift ;;
+       force=:; shift ;;
 
      # Options of Automake.
      --cygnus | --foreign | --gnits | --gnu | --include-deps | -i )
@@ -165,7 +165,7 @@ fi
 # Dispatch autoreconf's option to the tools.
 autoconf="$autoconf -l $localdir `$verbose --verbose`"
 autoheader="$autoheader -l $localdir `$verbose --verbose`"
-test $force = no && automake="$automake --no-force"
+$force || automake="$automake --no-force"
 automake="$automake `$verbose --verbose`"
 aclocal="$aclocal `$verbose --verbose`"
 export AC_MACRODIR
@@ -219,7 +219,7 @@ while read dir; do
   p
   q
 }' Makefile.in 2>/dev/null`
-     if test $force = no &&
+     if $force &&
         ls -lt configure.in $aclocal_m4 $aclocal_dir/acinclude.m4 2>/dev/null|
        sed 1q |
         grep 'aclocal\.m4$' > /dev/null
@@ -238,13 +238,13 @@ while read dir; do
   # Re-run automake if required.  Assumes that there is a Makefile.am
   # in the topmost directory.
   if test -f Makefile.am; then
-     $verbose running $automake $amforce in $dir
-     $automake $amforce $automake_mode $automake_deps
+     $verbose running $automake in $dir
+     $automake
   fi
 
   test ! -f $aclocal_m4 && aclocal_m4=
 
-  if test $force = no && test -f configure &&
+  if $force && test -f configure &&
     ls -lt configure configure.in $aclocal_m4 | sed 1q |
       grep 'configure$' > /dev/null
   then
@@ -270,7 +270,7 @@ while read dir; do
       '`
     stamp=`echo $template | sed 's,/*[^/]*$,,;s,^$,.,'`/stamp-h`test "$tcount" -gt 1 && echo "$tcount"`.in
     if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
-      if test $force = no && test -f $template &&
+      if $force && test -f $template &&
         ls -lt $template configure.in $aclocal_m4 $stamp 2>/dev/null \
                `echo $localdir_opt | sed -e 's/--localdir=//' \
                                          -e '/./ s%$%/%'`acconfig.h |