]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoreconf.sh: Forward --debug to sub tools.
authorAkim Demaille <akim@epita.fr>
Wed, 19 Jul 2000 08:54:44 +0000 (08:54 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 19 Jul 2000 08:54:44 +0000 (08:54 +0000)
Let them share the same tmp dir.

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

index b3367960d985be7594b44953641486563c238095..706310201b68f1e2323116fe769cb5745fbc7cc1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-19  Akim Demaille  <akim@epita.fr>
+
+       * autoreconf.sh: Forward --debug to sub tools.
+       Let them share the same tmp dir.
+
 2000-07-18  Akim Demaille  <akim@epita.fr>
 
        * acspecific.m4 (AC_MING32): Rename as AC_MINGW32.
index a484d6f841ad66f19d1036cadedd034e421cff04..1d0097096016a285c51b7e2a1d18709dd1eb3627 100644 (file)
@@ -236,7 +236,7 @@ $debug ||
 {
   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/acXXXXXX") 2>/dev/null` &&
   test -n "$tmp" && test -d "$tmp"
-}  ||
+} ||
 {
   tmp=$TMPDIR/ac$$ && (umask 077 && mkdir $tmp)
 } ||
index a484d6f841ad66f19d1036cadedd034e421cff04..1d0097096016a285c51b7e2a1d18709dd1eb3627 100644 (file)
@@ -236,7 +236,7 @@ $debug ||
 {
   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/acXXXXXX") 2>/dev/null` &&
   test -n "$tmp" && test -d "$tmp"
-}  ||
+} ||
 {
   tmp=$TMPDIR/ac$$ && (umask 077 && mkdir $tmp)
 } ||
index fc5448402a91049caef65daf1b12cb6cec5a16d6..45aae5c7a8dd82049bd74cd84a12f19697a9184c 100644 (file)
@@ -210,6 +210,12 @@ autoconf="$autoconf `$verbose --verbose`"
 autoheader="$autoheader `$verbose --verbose`"
 automake="$automake `$verbose --verbose`"
 aclocal="$aclocal `$verbose --verbose`"
+# --debug
+$debug &&
+{
+  autoconf="$autoconf --debug"
+  autoheader="$autoheader --debug"
+}
 # --macrodir
 export AC_MACRODIR
 # --install and --symlink
@@ -239,6 +245,11 @@ $debug ||
    exit 1;
 }
 
+# When debugging, it is convenient that all the related temporary
+# files be at the same place.
+TMPDIR=$tmp
+export TMPDIR
+
 # alflags.sed -- Fetch the aclocal flags.
 cat >$tmp/alflags.sed <<EOF
 #n
index fc5448402a91049caef65daf1b12cb6cec5a16d6..45aae5c7a8dd82049bd74cd84a12f19697a9184c 100644 (file)
@@ -210,6 +210,12 @@ autoconf="$autoconf `$verbose --verbose`"
 autoheader="$autoheader `$verbose --verbose`"
 automake="$automake `$verbose --verbose`"
 aclocal="$aclocal `$verbose --verbose`"
+# --debug
+$debug &&
+{
+  autoconf="$autoconf --debug"
+  autoheader="$autoheader --debug"
+}
 # --macrodir
 export AC_MACRODIR
 # --install and --symlink
@@ -239,6 +245,11 @@ $debug ||
    exit 1;
 }
 
+# When debugging, it is convenient that all the related temporary
+# files be at the same place.
+TMPDIR=$tmp
+export TMPDIR
+
 # alflags.sed -- Fetch the aclocal flags.
 cat >$tmp/alflags.sed <<EOF
 #n
index a484d6f841ad66f19d1036cadedd034e421cff04..1d0097096016a285c51b7e2a1d18709dd1eb3627 100644 (file)
@@ -236,7 +236,7 @@ $debug ||
 {
   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/acXXXXXX") 2>/dev/null` &&
   test -n "$tmp" && test -d "$tmp"
-}  ||
+} ||
 {
   tmp=$TMPDIR/ac$$ && (umask 077 && mkdir $tmp)
 } ||
index fc5448402a91049caef65daf1b12cb6cec5a16d6..45aae5c7a8dd82049bd74cd84a12f19697a9184c 100644 (file)
@@ -210,6 +210,12 @@ autoconf="$autoconf `$verbose --verbose`"
 autoheader="$autoheader `$verbose --verbose`"
 automake="$automake `$verbose --verbose`"
 aclocal="$aclocal `$verbose --verbose`"
+# --debug
+$debug &&
+{
+  autoconf="$autoconf --debug"
+  autoheader="$autoheader --debug"
+}
 # --macrodir
 export AC_MACRODIR
 # --install and --symlink
@@ -239,6 +245,11 @@ $debug ||
    exit 1;
 }
 
+# When debugging, it is convenient that all the related temporary
+# files be at the same place.
+TMPDIR=$tmp
+export TMPDIR
+
 # alflags.sed -- Fetch the aclocal flags.
 cat >$tmp/alflags.sed <<EOF
 #n