+2001-08-07 Akim Demaille <akim@epita.fr>
+
+ * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
+
+2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
+
2001-08-04 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
** autom4te
New executable, used by the Autoconf suite to cache and speed up
some processing.
+** autoconf
+- --force, -f
+** autoheader
+- --force, -f
\f
* Major changes in Autoconf 2.52
** Documentation
-V, --version print version number, then exit
-v, --verbose verbosely report processing
-d, --debug don't remove temporary files
+ -f, --force consider all the files are obsolete
-o, --output=FILE save output in FILE (stdout is the default)
-W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
# Variables.
: ${autoconf_dir=${AC_MACRODIR=@datadir@}}
debug=false
+force=false
dir=`echo "$0" | sed -e 's,[^\\/]*$,,'`
# Trace Autoconf's initialization?
initialization=false
--debug | -d )
debug=:; shift ;;
+ --force | -f )
+ force=:; shift ;;
--verbose | -v )
verbose=echo
shift;;
run_autom4te="$autom4te "\
`$verbose "--verbose "`\
`$debug && echo "--debug "`\
+`$force && echo "--force "`\
"--include $autoconf_dir --include $localdir "\
"--warning syntax,$warnings "\
"$preselect"\
-V, --version print version number, then exit
-v, --verbose verbosely report processing
-d, --debug don't remove temporary files
+ -f, --force consider all the files are obsolete
-W, --warnings=CATEGORY report the warnings falling in CATEGORY
Warning categories include:
done
debug=false
localdir=.
+force=false
status=0
tmp=
verbose=:
--debug | -d )
debug=:; shift ;;
+ --force | -f )
+ force=:; shift ;;
--verbose | -v )
verbose=echo
shift;;
if test $status = 0; then
if test $# = 0; then
# Output is a file
- if test -f $config_h_in && cmp -s $tmp/config.hin $config_h_in; then
+ if test -f $config_h_in &&
+ cmp -s $tmp/config.hin $config_h_in &&
+ test "$force" != :; then
# File didn't change, so don't update its mod time.
echo "$me: $config_h_in is unchanged" >&2
else
s/__oline__/$oline/g;
s/\@<:\@/[/g;
s/\@:>\@/]/g;
- s/\@\$\|\@/\$/g;
+ s/\@S\|\@/\$/g;
s/\@%:\@/#/g;
print $out "$_\n";
-V, --version print version number, then exit
-v, --verbose verbosely report processing
-d, --debug don't remove temporary files
- -f, --force consider every files are obsolete
+ -f, --force consider all the files are obsolete
-i, --install copy missing auxiliary files
-s, --symlink instead of copying, install symbolic links
autoheader="$autoheader -l $localdir"
# --force
$force || automake="$automake --no-force"
+$force &&
+{
+ autoconf="$autoconf --force"
+ autoheader="$autoheader --force"
+}
# --verbose
autoconf="$autoconf `$verbose --verbose`"
autoheader="$autoheader `$verbose --verbose`"
@itemx -d
Don't remove the temporary files.
+@item --force
+@itemx -f
+Remake @file{configure} even if newer than its input files.
+
@item --autoconf-dir=@var{dir}
@itemx -A @var{dir}
@evindex AC_MACRODIR
@itemx -V
Print the version number of Autoconf and exit.
+@item --verbose
+@itemx -v
+Report processing steps.
+
@item --debug
@itemx -d
Don't remove the temporary files.
-@item --verbose
-@itemx -v
-Report processing steps.
+@item --force
+@itemx -f
+Remake the template file even if newer than its input files.
@item --autoconf-dir=@var{dir}
@itemx -A @var{dir}
\fB\-d\fR, \fB\-\-debug\fR
don't remove temporary files
.TP
+\fB\-f\fR, \fB\-\-force\fR
+consider all the files are obsolete
+.TP
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
save output in FILE (stdout is the default)
.TP
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH AUTOHEADER "1" "August 2001" "GNU Autoconf 2.52b" FSF
+.TH AUTOHEADER "1" "August 2001" "GNU Autoconf 2.52c" FSF
.SH NAME
autoheader \- Create a template header for configure
.SH SYNOPSIS
\fB\-d\fR, \fB\-\-debug\fR
don't remove temporary files
.TP
+\fB\-f\fR, \fB\-\-force\fR
+consider all the files are obsolete
+.TP
\fB\-W\fR, \fB\-\-warnings\fR=\fICATEGORY\fR
report the warnings falling in CATEGORY
.SS "Warning categories include:"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH AUTORECONF "1" "August 2001" "GNU Autoconf 2.52b" FSF
+.TH AUTORECONF "1" "August 2001" "GNU Autoconf 2.52c" FSF
.SH NAME
autoreconf \- Update generated configuration files
.SH SYNOPSIS
don't remove temporary files
.TP
\fB\-f\fR, \fB\-\-force\fR
-consider every files are obsolete
+consider all the files are obsolete
.TP
\fB\-i\fR, \fB\-\-install\fR
copy missing auxiliary files