mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
* bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
This commit is contained in:
parent
6f629af81a
commit
dbf7fc61b5
@ -1,3 +1,11 @@
|
|||||||
|
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>
|
2001-08-04 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
|
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
|
||||||
|
4
NEWS
4
NEWS
@ -4,6 +4,10 @@
|
|||||||
** autom4te
|
** autom4te
|
||||||
New executable, used by the Autoconf suite to cache and speed up
|
New executable, used by the Autoconf suite to cache and speed up
|
||||||
some processing.
|
some processing.
|
||||||
|
** autoconf
|
||||||
|
- --force, -f
|
||||||
|
** autoheader
|
||||||
|
- --force, -f
|
||||||
|
|
||||||
* Major changes in Autoconf 2.52
|
* Major changes in Autoconf 2.52
|
||||||
** Documentation
|
** Documentation
|
||||||
|
@ -34,6 +34,7 @@ Operation modes:
|
|||||||
-V, --version print version number, then exit
|
-V, --version print version number, then exit
|
||||||
-v, --verbose verbosely report processing
|
-v, --verbose verbosely report processing
|
||||||
-d, --debug don't remove temporary files
|
-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)
|
-o, --output=FILE save output in FILE (stdout is the default)
|
||||||
-W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
|
-W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
|
||||||
|
|
||||||
@ -86,6 +87,7 @@ if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
|||||||
# Variables.
|
# Variables.
|
||||||
: ${autoconf_dir=${AC_MACRODIR=@datadir@}}
|
: ${autoconf_dir=${AC_MACRODIR=@datadir@}}
|
||||||
debug=false
|
debug=false
|
||||||
|
force=false
|
||||||
dir=`echo "$0" | sed -e 's,[^\\/]*$,,'`
|
dir=`echo "$0" | sed -e 's,[^\\/]*$,,'`
|
||||||
# Trace Autoconf's initialization?
|
# Trace Autoconf's initialization?
|
||||||
initialization=false
|
initialization=false
|
||||||
@ -117,6 +119,8 @@ while test $# -gt 0 ; do
|
|||||||
|
|
||||||
--debug | -d )
|
--debug | -d )
|
||||||
debug=:; shift ;;
|
debug=:; shift ;;
|
||||||
|
--force | -f )
|
||||||
|
force=:; shift ;;
|
||||||
--verbose | -v )
|
--verbose | -v )
|
||||||
verbose=echo
|
verbose=echo
|
||||||
shift;;
|
shift;;
|
||||||
@ -231,6 +235,7 @@ done
|
|||||||
run_autom4te="$autom4te "\
|
run_autom4te="$autom4te "\
|
||||||
`$verbose "--verbose "`\
|
`$verbose "--verbose "`\
|
||||||
`$debug && echo "--debug "`\
|
`$debug && echo "--debug "`\
|
||||||
|
`$force && echo "--force "`\
|
||||||
"--include $autoconf_dir --include $localdir "\
|
"--include $autoconf_dir --include $localdir "\
|
||||||
"--warning syntax,$warnings "\
|
"--warning syntax,$warnings "\
|
||||||
"$preselect"\
|
"$preselect"\
|
||||||
|
@ -34,6 +34,7 @@ or else \`configure.in'.
|
|||||||
-V, --version print version number, then exit
|
-V, --version print version number, then exit
|
||||||
-v, --verbose verbosely report processing
|
-v, --verbose verbosely report processing
|
||||||
-d, --debug don't remove temporary files
|
-d, --debug don't remove temporary files
|
||||||
|
-f, --force consider all the files are obsolete
|
||||||
-W, --warnings=CATEGORY report the warnings falling in CATEGORY
|
-W, --warnings=CATEGORY report the warnings falling in CATEGORY
|
||||||
|
|
||||||
Warning categories include:
|
Warning categories include:
|
||||||
@ -89,6 +90,7 @@ for autoconf in "$AUTOCONF" \
|
|||||||
done
|
done
|
||||||
debug=false
|
debug=false
|
||||||
localdir=.
|
localdir=.
|
||||||
|
force=false
|
||||||
status=0
|
status=0
|
||||||
tmp=
|
tmp=
|
||||||
verbose=:
|
verbose=:
|
||||||
@ -108,6 +110,8 @@ while test $# -gt 0 ; do
|
|||||||
|
|
||||||
--debug | -d )
|
--debug | -d )
|
||||||
debug=:; shift ;;
|
debug=:; shift ;;
|
||||||
|
--force | -f )
|
||||||
|
force=:; shift ;;
|
||||||
--verbose | -v )
|
--verbose | -v )
|
||||||
verbose=echo
|
verbose=echo
|
||||||
shift;;
|
shift;;
|
||||||
@ -356,7 +360,9 @@ fi
|
|||||||
if test $status = 0; then
|
if test $status = 0; then
|
||||||
if test $# = 0; then
|
if test $# = 0; then
|
||||||
# Output is a file
|
# 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.
|
# File didn't change, so don't update its mod time.
|
||||||
echo "$me: $config_h_in is unchanged" >&2
|
echo "$me: $config_h_in is unchanged" >&2
|
||||||
else
|
else
|
||||||
|
@ -604,7 +604,7 @@ sub handle_output ($$)
|
|||||||
s/__oline__/$oline/g;
|
s/__oline__/$oline/g;
|
||||||
s/\@<:\@/[/g;
|
s/\@<:\@/[/g;
|
||||||
s/\@:>\@/]/g;
|
s/\@:>\@/]/g;
|
||||||
s/\@\$\|\@/\$/g;
|
s/\@S\|\@/\$/g;
|
||||||
s/\@%:\@/#/g;
|
s/\@%:\@/#/g;
|
||||||
|
|
||||||
print $out "$_\n";
|
print $out "$_\n";
|
||||||
|
@ -36,7 +36,7 @@ Operation modes:
|
|||||||
-V, --version print version number, then exit
|
-V, --version print version number, then exit
|
||||||
-v, --verbose verbosely report processing
|
-v, --verbose verbosely report processing
|
||||||
-d, --debug don't remove temporary files
|
-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
|
-i, --install copy missing auxiliary files
|
||||||
-s, --symlink instead of copying, install symbolic links
|
-s, --symlink instead of copying, install symbolic links
|
||||||
|
|
||||||
@ -229,6 +229,11 @@ autoconf="$autoconf -l $localdir"
|
|||||||
autoheader="$autoheader -l $localdir"
|
autoheader="$autoheader -l $localdir"
|
||||||
# --force
|
# --force
|
||||||
$force || automake="$automake --no-force"
|
$force || automake="$automake --no-force"
|
||||||
|
$force &&
|
||||||
|
{
|
||||||
|
autoconf="$autoconf --force"
|
||||||
|
autoheader="$autoheader --force"
|
||||||
|
}
|
||||||
# --verbose
|
# --verbose
|
||||||
autoconf="$autoconf `$verbose --verbose`"
|
autoconf="$autoconf `$verbose --verbose`"
|
||||||
autoheader="$autoheader `$verbose --verbose`"
|
autoheader="$autoheader `$verbose --verbose`"
|
||||||
|
@ -1126,6 +1126,10 @@ Report processing steps.
|
|||||||
@itemx -d
|
@itemx -d
|
||||||
Don't remove the temporary files.
|
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}
|
@item --autoconf-dir=@var{dir}
|
||||||
@itemx -A @var{dir}
|
@itemx -A @var{dir}
|
||||||
@evindex AC_MACRODIR
|
@evindex AC_MACRODIR
|
||||||
@ -2392,13 +2396,17 @@ Print a summary of the command line options and exit.
|
|||||||
@itemx -V
|
@itemx -V
|
||||||
Print the version number of Autoconf and exit.
|
Print the version number of Autoconf and exit.
|
||||||
|
|
||||||
|
@item --verbose
|
||||||
|
@itemx -v
|
||||||
|
Report processing steps.
|
||||||
|
|
||||||
@item --debug
|
@item --debug
|
||||||
@itemx -d
|
@itemx -d
|
||||||
Don't remove the temporary files.
|
Don't remove the temporary files.
|
||||||
|
|
||||||
@item --verbose
|
@item --force
|
||||||
@itemx -v
|
@itemx -f
|
||||||
Report processing steps.
|
Remake the template file even if newer than its input files.
|
||||||
|
|
||||||
@item --autoconf-dir=@var{dir}
|
@item --autoconf-dir=@var{dir}
|
||||||
@itemx -A @var{dir}
|
@itemx -A @var{dir}
|
||||||
|
@ -24,6 +24,9 @@ verbosely report processing
|
|||||||
\fB\-d\fR, \fB\-\-debug\fR
|
\fB\-d\fR, \fB\-\-debug\fR
|
||||||
don't remove temporary files
|
don't remove temporary files
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-f\fR, \fB\-\-force\fR
|
||||||
|
consider all the files are obsolete
|
||||||
|
.TP
|
||||||
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
|
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
|
||||||
save output in FILE (stdout is the default)
|
save output in FILE (stdout is the default)
|
||||||
.TP
|
.TP
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
|
.\" 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
|
.SH NAME
|
||||||
autoheader \- Create a template header for configure
|
autoheader \- Create a template header for configure
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -22,6 +22,9 @@ verbosely report processing
|
|||||||
\fB\-d\fR, \fB\-\-debug\fR
|
\fB\-d\fR, \fB\-\-debug\fR
|
||||||
don't remove temporary files
|
don't remove temporary files
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-f\fR, \fB\-\-force\fR
|
||||||
|
consider all the files are obsolete
|
||||||
|
.TP
|
||||||
\fB\-W\fR, \fB\-\-warnings\fR=\fICATEGORY\fR
|
\fB\-W\fR, \fB\-\-warnings\fR=\fICATEGORY\fR
|
||||||
report the warnings falling in CATEGORY
|
report the warnings falling in CATEGORY
|
||||||
.SS "Warning categories include:"
|
.SS "Warning categories include:"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
|
.\" 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
|
.SH NAME
|
||||||
autoreconf \- Update generated configuration files
|
autoreconf \- Update generated configuration files
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -28,7 +28,7 @@ verbosely report processing
|
|||||||
don't remove temporary files
|
don't remove temporary files
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fR, \fB\-\-force\fR
|
\fB\-f\fR, \fB\-\-force\fR
|
||||||
consider every files are obsolete
|
consider all the files are obsolete
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fR, \fB\-\-install\fR
|
\fB\-i\fR, \fB\-\-install\fR
|
||||||
copy missing auxiliary files
|
copy missing auxiliary files
|
||||||
|
Loading…
Reference in New Issue
Block a user