From Jim Meyering.
* autoheader.sh (usage): The usage is to use $0 here.
(ah_base): Be in TMPDIR.
Install the `trap' before creating the first tmp file.
Also trap on 0.
+2000-02-10 Akim Demaille <akim@epita.fr>
+
+ Interrupting autoheader left temp files.
+ From Jim Meyering.
+
+ * autoheader.sh (usage): The usage is to use $0 here.
+ (ah_base): Be in TMPDIR.
+ Install the `trap' before creating the first tmp file.
+ Also trap on 0.
+
2000-02-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): This is a routine of
#! @SHELL@
# autoheader -- create `config.h.in' from `configure.in'
-# Copyright (C) 1992-1994, 1996, 1998-1999 Free Software Foundation, Inc.
+# Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
-Usage: autoheader [OPTION] ... [TEMPLATE-FILE]
+Usage: $0 [OPTION] ... [TEMPLATE-FILE]
Create a template file of C \`#define' statements for \`configure' to
use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
autoheader (GNU @PACKAGE@) @VERSION@
Written by Roland McGrath.
-Copyright (C) 1992-1994, 1996, 1998-1999 Free Software Foundation, Inc.
+Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
localdir=.
debug=false
# Basename for temporary files.
-ah_base=ah$$
+: ${TMPDIR=/tmp}
+ah_base=$TMPDIR/ah$$
+tmpout=$ah_base.out
while test $# -gt 0 ; do
case "$1" in
esac
run_m4="$M4 --reload $AC_MACRODIR/autoheader.m4f $use_localdir"
+# Trap on 0 to stop playing with `rm'.
+$debug || trap "rm -f $ah_base*" 0 1 2 15
+
# Extract assignments of `ah_verbatim_SYMBOL' from the modified
# autoconf processing of the input file. The sed hair is necessary to
# win for multi-line macro invocations.
s/^/@@@/
b again
}' $ah_base.exp >$ah_base.decls
-. ./$ah_base.decls
+. $ah_base.decls
$debug || rm $ah_base.exp $ah_base.decls
# Make SYMS newline-separated rather than blank-separated, and remove dups.
# pattern on the command line, so use a temporary file containing the
# pattern.
(fgrep_tmp=$ah_base.fgrep
- trap "rm -f $fgrep_tmp; exit 1" 1 2 15
cat > $fgrep_tmp <<EOF
$syms
EOF
fi
fi
-rm -f $tmpout
exit $status
#! @SHELL@
# autoheader -- create `config.h.in' from `configure.in'
-# Copyright (C) 1992-1994, 1996, 1998-1999 Free Software Foundation, Inc.
+# Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
-Usage: autoheader [OPTION] ... [TEMPLATE-FILE]
+Usage: $0 [OPTION] ... [TEMPLATE-FILE]
Create a template file of C \`#define' statements for \`configure' to
use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
autoheader (GNU @PACKAGE@) @VERSION@
Written by Roland McGrath.
-Copyright (C) 1992-1994, 1996, 1998-1999 Free Software Foundation, Inc.
+Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
localdir=.
debug=false
# Basename for temporary files.
-ah_base=ah$$
+: ${TMPDIR=/tmp}
+ah_base=$TMPDIR/ah$$
+tmpout=$ah_base.out
while test $# -gt 0 ; do
case "$1" in
esac
run_m4="$M4 --reload $AC_MACRODIR/autoheader.m4f $use_localdir"
+# Trap on 0 to stop playing with `rm'.
+$debug || trap "rm -f $ah_base*" 0 1 2 15
+
# Extract assignments of `ah_verbatim_SYMBOL' from the modified
# autoconf processing of the input file. The sed hair is necessary to
# win for multi-line macro invocations.
s/^/@@@/
b again
}' $ah_base.exp >$ah_base.decls
-. ./$ah_base.decls
+. $ah_base.decls
$debug || rm $ah_base.exp $ah_base.decls
# Make SYMS newline-separated rather than blank-separated, and remove dups.
# pattern on the command line, so use a temporary file containing the
# pattern.
(fgrep_tmp=$ah_base.fgrep
- trap "rm -f $fgrep_tmp; exit 1" 1 2 15
cat > $fgrep_tmp <<EOF
$syms
EOF
fi
fi
-rm -f $tmpout
exit $status
#! @SHELL@
# autoheader -- create `config.h.in' from `configure.in'
-# Copyright (C) 1992-1994, 1996, 1998-1999 Free Software Foundation, Inc.
+# Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
-Usage: autoheader [OPTION] ... [TEMPLATE-FILE]
+Usage: $0 [OPTION] ... [TEMPLATE-FILE]
Create a template file of C \`#define' statements for \`configure' to
use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
autoheader (GNU @PACKAGE@) @VERSION@
Written by Roland McGrath.
-Copyright (C) 1992-1994, 1996, 1998-1999 Free Software Foundation, Inc.
+Copyright (C) 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
localdir=.
debug=false
# Basename for temporary files.
-ah_base=ah$$
+: ${TMPDIR=/tmp}
+ah_base=$TMPDIR/ah$$
+tmpout=$ah_base.out
while test $# -gt 0 ; do
case "$1" in
esac
run_m4="$M4 --reload $AC_MACRODIR/autoheader.m4f $use_localdir"
+# Trap on 0 to stop playing with `rm'.
+$debug || trap "rm -f $ah_base*" 0 1 2 15
+
# Extract assignments of `ah_verbatim_SYMBOL' from the modified
# autoconf processing of the input file. The sed hair is necessary to
# win for multi-line macro invocations.
s/^/@@@/
b again
}' $ah_base.exp >$ah_base.decls
-. ./$ah_base.decls
+. $ah_base.decls
$debug || rm $ah_base.exp $ah_base.decls
# Make SYMS newline-separated rather than blank-separated, and remove dups.
# pattern on the command line, so use a temporary file containing the
# pattern.
(fgrep_tmp=$ah_base.fgrep
- trap "rm -f $fgrep_tmp; exit 1" 1 2 15
cat > $fgrep_tmp <<EOF
$syms
EOF
fi
fi
-rm -f $tmpout
exit $status
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.019.
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
.TH AUTOCONF "1" "February 2000" "GNU autoconf 2.14a" FSF
.SH NAME
autoconf \- Generate configuration scripts
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.019.
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
.TH AUTOHEADER "1" "February 2000" "GNU autoconf 2.14a" FSF
.SH NAME
autoheader \- Create a template header for configure
.SH "REPORTING BUGS"
Report bugs to <bug-autoconf@gnu.org>.
.SH COPYRIGHT
-Copyright \(co 1992-1994, 1996, 1998-1999 Free Software Foundation, Inc.
+Copyright \(co 1992-94, 96, 98, 99, 2000 Free Software Foundation, Inc.
.br
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.019.
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
.TH AUTORECONF "1" "February 2000" "GNU autoconf 2.14a" FSF
.SH NAME
autoreconf \- Update generated configuration files
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.019.
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
.TH AUTOUPDATE "1" "February 2000" "GNU autoconf 2.14a" FSF
.SH NAME
autoupdate \- Update a configure.in to a newer Autoconf
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.019.
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
.TH IFNAMES "1" "February 2000" "GNU autoconf 2.14a" FSF
.SH NAME
ifnames \- Extract CPP conditionals from a set of files