]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoreconf.sh (debug): New variable.
authorAkim Demaille <akim@epita.fr>
Mon, 10 Jul 2000 10:08:29 +0000 (10:08 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 10 Jul 2000 10:08:29 +0000 (10:08 +0000)
(tmp): s/ac/ar/.
<options handling>: Support --debug.
* doc/autoconf.texi: Adjust.

ChangeLog
autoreconf.in
autoreconf.sh
bin/autoreconf.in
doc/autoconf.texi

index 412cc6c0e6b2beded534ee6a9ab3745795cdd422..b3c17bdcab81d411b322e1469e4ff89ae58840cf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-07-10  Akim Demaille  <akim@epita.fr>
+
+       * autoreconf.sh (debug): New variable.
+       (tmp): s/ac/ar/.
+       <options handling>: Support --debug.
+       * doc/autoconf.texi: Adjust.
+
 2000-07-10  Akim Demaille  <akim@epita.fr>
 
        Fix the bugs recently introduced in autoreconf.
index e347f4cd1a4fc4431dc245df939590865e82c0ac..fc09eb38720d8ebdfa47699c28ce885263b86c90 100644 (file)
@@ -33,6 +33,7 @@ the \`--force' option.
   -h, --help            print this help, then exit
   -V, --version         print version number, then exit
   -v, --verbose         verbosely report processing
+  -d, --debug           don't remove temporary files
   -m, --macrodir=DIR    directory storing macro files
   -l, --localdir=DIR    directory storing \`aclocal.m4' and \`acconfig.h'
   -f, --force           consider every files are obsolete
@@ -78,6 +79,7 @@ if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 
 # Variables.
 : ${AC_MACRODIR=@datadir@}
+debug=false
 dir=`echo "$0" | sed -e 's/[^/]*$//'`
 force=false
 localdir=.
@@ -116,6 +118,8 @@ while test $# -gt 0; do
     --verbose | --verb* | -v )
        verbose=echo
        shift;;
+    --debug | --d* | -d )
+       debug=:; shift ;;
 
     --localdir=* | --l*=* )
        localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
@@ -184,7 +188,7 @@ $debug ||
   test -n "$tmp" && test -d "$tmp"
 }  ||
 {
-  tmp=$TMPDIR/ac$$ && (umask 077 && mkdir $tmp)
+  tmp=$TMPDIR/ar$$ && (umask 077 && mkdir $tmp)
 } ||
 {
    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
@@ -231,7 +235,7 @@ while read dir; do
   case "$dir" in
   .) dots= ;;
   *) # A "../" for each directory in /$dir.
-     dots=`echo /$dir|sed 's%/[^/]*%../%g'` ;;
+     dots=`echo /$dir | sed 's%/[^/]*%../%g'` ;;
   esac
 
   case "$localdir" in
index e347f4cd1a4fc4431dc245df939590865e82c0ac..fc09eb38720d8ebdfa47699c28ce885263b86c90 100644 (file)
@@ -33,6 +33,7 @@ the \`--force' option.
   -h, --help            print this help, then exit
   -V, --version         print version number, then exit
   -v, --verbose         verbosely report processing
+  -d, --debug           don't remove temporary files
   -m, --macrodir=DIR    directory storing macro files
   -l, --localdir=DIR    directory storing \`aclocal.m4' and \`acconfig.h'
   -f, --force           consider every files are obsolete
@@ -78,6 +79,7 @@ if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 
 # Variables.
 : ${AC_MACRODIR=@datadir@}
+debug=false
 dir=`echo "$0" | sed -e 's/[^/]*$//'`
 force=false
 localdir=.
@@ -116,6 +118,8 @@ while test $# -gt 0; do
     --verbose | --verb* | -v )
        verbose=echo
        shift;;
+    --debug | --d* | -d )
+       debug=:; shift ;;
 
     --localdir=* | --l*=* )
        localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
@@ -184,7 +188,7 @@ $debug ||
   test -n "$tmp" && test -d "$tmp"
 }  ||
 {
-  tmp=$TMPDIR/ac$$ && (umask 077 && mkdir $tmp)
+  tmp=$TMPDIR/ar$$ && (umask 077 && mkdir $tmp)
 } ||
 {
    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
@@ -231,7 +235,7 @@ while read dir; do
   case "$dir" in
   .) dots= ;;
   *) # A "../" for each directory in /$dir.
-     dots=`echo /$dir|sed 's%/[^/]*%../%g'` ;;
+     dots=`echo /$dir | sed 's%/[^/]*%../%g'` ;;
   esac
 
   case "$localdir" in
index e347f4cd1a4fc4431dc245df939590865e82c0ac..fc09eb38720d8ebdfa47699c28ce885263b86c90 100644 (file)
@@ -33,6 +33,7 @@ the \`--force' option.
   -h, --help            print this help, then exit
   -V, --version         print version number, then exit
   -v, --verbose         verbosely report processing
+  -d, --debug           don't remove temporary files
   -m, --macrodir=DIR    directory storing macro files
   -l, --localdir=DIR    directory storing \`aclocal.m4' and \`acconfig.h'
   -f, --force           consider every files are obsolete
@@ -78,6 +79,7 @@ if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 
 # Variables.
 : ${AC_MACRODIR=@datadir@}
+debug=false
 dir=`echo "$0" | sed -e 's/[^/]*$//'`
 force=false
 localdir=.
@@ -116,6 +118,8 @@ while test $# -gt 0; do
     --verbose | --verb* | -v )
        verbose=echo
        shift;;
+    --debug | --d* | -d )
+       debug=:; shift ;;
 
     --localdir=* | --l*=* )
        localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
@@ -184,7 +188,7 @@ $debug ||
   test -n "$tmp" && test -d "$tmp"
 }  ||
 {
-  tmp=$TMPDIR/ac$$ && (umask 077 && mkdir $tmp)
+  tmp=$TMPDIR/ar$$ && (umask 077 && mkdir $tmp)
 } ||
 {
    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
@@ -231,7 +235,7 @@ while read dir; do
   case "$dir" in
   .) dots= ;;
   *) # A "../" for each directory in /$dir.
-     dots=`echo /$dir|sed 's%/[^/]*%../%g'` ;;
+     dots=`echo /$dir | sed 's%/[^/]*%../%g'` ;;
   esac
 
   case "$localdir" in
index 764f948d9aea43f6a3fa6539342444a3ce5bfe7e..a7a6108c1c597c56e12ad0c43f7139e6dc7bd521 100644 (file)
@@ -1098,6 +1098,10 @@ Print the version number of Autoconf and exit.
 Print the name of each directory where @code{autoreconf} runs
 @code{autoconf} (and @code{autoheader}, if appropriate).
 
+@item --debug
+@itemx -d
+Don't remove the temporary files.
+
 @item --force
 @itemx -f
 Remake even @file{configure} scripts and configuration headers that are