[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12-fyi--force.patch
From: |
Akim Demaille |
Subject: |
12-fyi--force.patch |
Date: |
Mon, 06 Aug 2001 10:22:50 +0200 |
Index: ChangeLog
from Akim Demaille <address@hidden>
* bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
Index: NEWS
--- NEWS Wed, 01 Aug 2001 23:34:52 +0200 akim
+++ NEWS Sat, 04 Aug 2001 19:15:08 +0200 akim
@@ -4,6 +4,10 @@
** autom4te
New executable, used by the Autoconf suite to cache and speed up
some processing.
+** autoconf
+- --force, -f
+** autoheader
+- --force, -f
* Major changes in Autoconf 2.52
** Documentation
Index: bin/autoconf.in
--- bin/autoconf.in Sat, 04 Aug 2001 18:47:20 +0200 akim
+++ bin/autoconf.in Sat, 04 Aug 2001 19:19:01 +0200 akim
@@ -34,6 +34,7 @@ Usage: $0 [OPTION] ... [TEMPLATE-FILE]
-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]
@@ -86,6 +87,7 @@ Tracing:
# Variables.
: address@hidden@}}
debug=false
+force=false
dir=`echo "$0" | sed -e 's,[^\\/]*$,,'`
# Trace Autoconf's initialization?
initialization=false
@@ -117,6 +119,8 @@ Tracing:
--debug | -d )
debug=:; shift ;;
+ --force | -f )
+ force=:; shift ;;
--verbose | -v )
verbose=echo
shift;;
@@ -231,6 +235,7 @@ Tracing:
run_autom4te="$autom4te "\
`$verbose "--verbose "`\
`$debug && echo "--debug "`\
+`$force && echo "--force "`\
"--include $autoconf_dir --include $localdir "\
"--warning syntax,$warnings "\
"$preselect"\
Index: bin/autoheader.in
--- bin/autoheader.in Tue, 24 Jul 2001 01:00:23 +0200 akim
+++ bin/autoheader.in Sat, 04 Aug 2001 19:06:43 +0200 akim
@@ -34,6 +34,7 @@ Usage: $0 [OPTION] ... [TEMPLATE-FILE]
-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:
@@ -89,6 +90,7 @@ Usage: $0 [OPTION] ... [TEMPLATE-FILE]
done
debug=false
localdir=.
+force=false
status=0
tmp=
verbose=:
@@ -108,6 +110,8 @@ Usage: $0 [OPTION] ... [TEMPLATE-FILE]
--debug | -d )
debug=:; shift ;;
+ --force | -f )
+ force=:; shift ;;
--verbose | -v )
verbose=echo
shift;;
@@ -356,7 +360,9 @@ Usage: $0 [OPTION] ... [TEMPLATE-FILE]
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
Index: bin/autoreconf.in
--- bin/autoreconf.in Mon, 04 Jun 2001 18:29:01 +0200 akim
+++ bin/autoreconf.in Sat, 04 Aug 2001 19:08:24 +0200 akim
@@ -36,7 +36,7 @@ Usage: $0 [OPTION] ... [TEMPLATE-FILE]
-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
@@ -229,6 +229,11 @@ Usage: $0 [OPTION] ... [TEMPLATE-FILE]
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`"
Index: doc/autoconf.texi
--- doc/autoconf.texi Thu, 02 Aug 2001 01:07:44 +0200 akim
+++ doc/autoconf.texi Sat, 04 Aug 2001 19:12:04 +0200 akim
@@ -1126,6 +1126,10 @@ @node autoconf Invocation, autoreconf In
@itemx -d
Don't remove the temporary files.
address@hidden --force
address@hidden -f
+Remake @file{configure} even if newer than its input files.
+
@item address@hidden
@itemx -A @var{dir}
@evindex AC_MACRODIR
@@ -2392,13 +2396,17 @@ @node autoheader Invocation, Autoheader
@itemx -V
Print the version number of Autoconf and exit.
address@hidden --verbose
address@hidden -v
+Report processing steps.
+
@item --debug
@itemx -d
Don't remove the temporary files.
address@hidden --verbose
address@hidden -v
-Report processing steps.
address@hidden --force
address@hidden -f
+Remake the template file even if newer than its input files.
@item address@hidden
@itemx -A @var{dir}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 12-fyi--force.patch,
Akim Demaille <=