* autoreconf.sh: Forward --debug to sub tools.

Let them share the same tmp dir.
This commit is contained in:
Akim Demaille 2000-07-19 08:54:44 +00:00
parent 71773fbd5f
commit 80ad59d16d
7 changed files with 41 additions and 3 deletions

View File

@ -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.

View 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)
} ||

View 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)
} ||

View 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

View 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

View 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)
} ||

View 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