mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-19 14:40:24 +08:00
The whole family supports -V = --version.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Report and support -V. * autoconf.sh: Likewise. * autoreconf.sh: Likewise. * autoupdate.sh: Likewise. * autoheader.sh: Likewise. * autoscan.pl: Likewise. * ifnames.sh: Likewise. In addition, don't dump --help on invalid options. * doc/autoconf.texi: Adjusted. * doc/install.texi: Likewise.
This commit is contained in:
parent
df786bcc63
commit
ab07ba8e08
15
ChangeLog
15
ChangeLog
@ -1,3 +1,18 @@
|
||||
2000-03-02 Akim Demaille <akim@epita.fr>
|
||||
|
||||
The whole family supports -V = --version.
|
||||
|
||||
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Report and support -V.
|
||||
* autoconf.sh: Likewise.
|
||||
* autoreconf.sh: Likewise.
|
||||
* autoupdate.sh: Likewise.
|
||||
* autoheader.sh: Likewise.
|
||||
* autoscan.pl: Likewise.
|
||||
* ifnames.sh: Likewise.
|
||||
In addition, don't dump --help on invalid options.
|
||||
* doc/autoconf.texi: Adjusted.
|
||||
* doc/install.texi: Likewise.
|
||||
|
||||
2000-03-02 Lars J. Aas <larsa@sim.no>
|
||||
|
||||
* libm4.m4 (m4_noquote): New macro.
|
||||
|
@ -709,7 +709,7 @@ Defaults for the options are specified in brackets.
|
||||
|
||||
Configuration:
|
||||
-h, --help print this message
|
||||
--version print the version of autoconf that created configure
|
||||
-V, --version print the version of autoconf that created configure
|
||||
-q, --quiet, --silent do not print \`checking...' messages
|
||||
--cache-file=FILE cache test results in FILE
|
||||
-n, --no-create do not create output files
|
||||
@ -914,7 +914,7 @@ Some influent environment variables:$ac_arg_var_help"
|
||||
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
||||
verbose=yes ;;
|
||||
|
||||
-version | --version | --versio | --versi | --vers)
|
||||
-version | --version | --versio | --versi | --vers | -V)
|
||||
echo "configure generated by autoconf version ]AC_ACVERSION["
|
||||
exit 0 ;;
|
||||
|
||||
|
@ -33,7 +33,7 @@ TEMPLATE-FILE is given, else into \`configure'.
|
||||
If the option \`--trace' is used, no configuration script is created.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-m, --macrodir=DIR directory storing Autoconf's macro files
|
||||
-l, --localdir=DIR directory storing the \`aclocal.m4' file
|
||||
-t, --trace=MACRO report the list of calls to MACRO
|
||||
@ -104,7 +104,7 @@ verbose=:
|
||||
# Parse command line
|
||||
while test $# -gt 0 ; do
|
||||
case "$1" in
|
||||
--version | --vers* )
|
||||
--version | --vers* | -V )
|
||||
echo "$version" ; exit 0 ;;
|
||||
--help | --h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
|
@ -33,7 +33,7 @@ TEMPLATE-FILE is given, else into \`configure'.
|
||||
If the option \`--trace' is used, no configuration script is created.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-m, --macrodir=DIR directory storing Autoconf's macro files
|
||||
-l, --localdir=DIR directory storing the \`aclocal.m4' file
|
||||
-t, --trace=MACRO report the list of calls to MACRO
|
||||
@ -104,7 +104,7 @@ verbose=:
|
||||
# Parse command line
|
||||
while test $# -gt 0 ; do
|
||||
case "$1" in
|
||||
--version | --vers* )
|
||||
--version | --vers* | -V )
|
||||
echo "$version" ; exit 0 ;;
|
||||
--help | --h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
|
@ -33,11 +33,11 @@ use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
|
||||
given.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
-d, --debug don't remove temporary files
|
||||
-m, --macrodir=DIR directory storing Autoconf's macro files
|
||||
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
|
||||
-v, --verbose verbosely report processing
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>."
|
||||
|
||||
|
@ -33,11 +33,11 @@ use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
|
||||
given.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
-d, --debug don't remove temporary files
|
||||
-m, --macrodir=DIR directory storing Autoconf's macro files
|
||||
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
|
||||
-v, --verbose verbosely report processing
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>."
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# autoreconf - remake all Autoconf configure scripts in a directory tree
|
||||
# Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 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
|
||||
@ -30,12 +30,12 @@ older than their predecessors. If you install a new version of
|
||||
Autoconf, running \`autoreconf' remakes all of the files by giving it
|
||||
the \`--force' option.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
-m, --macrodir=DIR directory storing macro files
|
||||
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
|
||||
-f, --force consider every files are obsolete
|
||||
-v, --verbose verbosely report processing
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
|
||||
The following options are passed to \`automake':
|
||||
--cygnus assume program is part of Cygnus-style tree
|
||||
@ -50,7 +50,7 @@ version="\
|
||||
autoreconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 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."
|
||||
|
||||
@ -69,7 +69,7 @@ while test $# -gt 0; do
|
||||
case "$1" in
|
||||
--help | --h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
--version | --vers*)
|
||||
--version | --vers* | -V )
|
||||
echo "$version"; exit 0 ;;
|
||||
|
||||
--localdir=* | --l*=* )
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# autoreconf - remake all Autoconf configure scripts in a directory tree
|
||||
# Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 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
|
||||
@ -30,12 +30,12 @@ older than their predecessors. If you install a new version of
|
||||
Autoconf, running \`autoreconf' remakes all of the files by giving it
|
||||
the \`--force' option.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
-m, --macrodir=DIR directory storing macro files
|
||||
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
|
||||
-f, --force consider every files are obsolete
|
||||
-v, --verbose verbosely report processing
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
|
||||
The following options are passed to \`automake':
|
||||
--cygnus assume program is part of Cygnus-style tree
|
||||
@ -50,7 +50,7 @@ version="\
|
||||
autoreconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 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."
|
||||
|
||||
@ -69,7 +69,7 @@ while test $# -gt 0; do
|
||||
case "$1" in
|
||||
--help | --h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
--version | --vers*)
|
||||
--version | --vers* | -V )
|
||||
echo "$version"; exit 0 ;;
|
||||
|
||||
--localdir=* | --l*=* )
|
||||
|
18
autoscan.in
18
autoscan.in
@ -1,6 +1,6 @@
|
||||
#! @PERL@
|
||||
# autoscan - Create configure.scan (a preliminary configure.in) for a package.
|
||||
# Copyright (C) 1994 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 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
|
||||
@ -47,10 +47,10 @@ current directory if none is given. Search the source files for
|
||||
common portability problems and create a file `configure.scan' which
|
||||
is a preliminary `configure.in' for that package.
|
||||
|
||||
-m, --macrodir=DIR directory storing data files
|
||||
-h, --help print this help, then exit
|
||||
-V, --version print version number, then exit
|
||||
--macrodir=DIR directory storing data files
|
||||
-v, --verbose verbosely report processing
|
||||
--help print this help, then exit
|
||||
--version print version number, then exit
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
EOD
|
||||
@ -59,20 +59,20 @@ EOD
|
||||
autoscan (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 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."
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
EOD
|
||||
|
||||
foreach $_ (@ARGV) {
|
||||
if (/^--m[a-z]*=(.*)/) {
|
||||
$datadir = $1;
|
||||
} elsif (/^--h/) {
|
||||
} elsif (/^--h/ || /^-h$/) {
|
||||
print "$usage";
|
||||
exit 0;
|
||||
} elsif (/^--verb/) {
|
||||
} elsif (/^--verb/ || /^-v$/) {
|
||||
$verbose = 1;
|
||||
} elsif (/^--vers/) {
|
||||
} elsif (/^--vers/ || /^-V$/) {
|
||||
print "$version";
|
||||
exit 0;
|
||||
} elsif (/^[^-]/) {
|
||||
|
18
autoscan.pl
18
autoscan.pl
@ -1,6 +1,6 @@
|
||||
#! @PERL@
|
||||
# autoscan - Create configure.scan (a preliminary configure.in) for a package.
|
||||
# Copyright (C) 1994 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 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
|
||||
@ -47,10 +47,10 @@ current directory if none is given. Search the source files for
|
||||
common portability problems and create a file `configure.scan' which
|
||||
is a preliminary `configure.in' for that package.
|
||||
|
||||
-m, --macrodir=DIR directory storing data files
|
||||
-h, --help print this help, then exit
|
||||
-V, --version print version number, then exit
|
||||
--macrodir=DIR directory storing data files
|
||||
-v, --verbose verbosely report processing
|
||||
--help print this help, then exit
|
||||
--version print version number, then exit
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
EOD
|
||||
@ -59,20 +59,20 @@ EOD
|
||||
autoscan (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 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."
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
EOD
|
||||
|
||||
foreach $_ (@ARGV) {
|
||||
if (/^--m[a-z]*=(.*)/) {
|
||||
$datadir = $1;
|
||||
} elsif (/^--h/) {
|
||||
} elsif (/^--h/ || /^-h$/) {
|
||||
print "$usage";
|
||||
exit 0;
|
||||
} elsif (/^--verb/) {
|
||||
} elsif (/^--verb/ || /^-v$/) {
|
||||
$verbose = 1;
|
||||
} elsif (/^--vers/) {
|
||||
} elsif (/^--vers/ || /^-V$/) {
|
||||
print "$version";
|
||||
exit 0;
|
||||
} elsif (/^[^-]/) {
|
||||
|
@ -33,7 +33,7 @@ TEMPLATE-FILE is given, else into \`configure'.
|
||||
If the option \`--trace' is used, no configuration script is created.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-m, --macrodir=DIR directory storing Autoconf's macro files
|
||||
-l, --localdir=DIR directory storing the \`aclocal.m4' file
|
||||
-t, --trace=MACRO report the list of calls to MACRO
|
||||
@ -104,7 +104,7 @@ verbose=:
|
||||
# Parse command line
|
||||
while test $# -gt 0 ; do
|
||||
case "$1" in
|
||||
--version | --vers* )
|
||||
--version | --vers* | -V )
|
||||
echo "$version" ; exit 0 ;;
|
||||
--help | --h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
|
@ -33,11 +33,11 @@ use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
|
||||
given.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
-d, --debug don't remove temporary files
|
||||
-m, --macrodir=DIR directory storing Autoconf's macro files
|
||||
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
|
||||
-v, --verbose verbosely report processing
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>."
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# autoreconf - remake all Autoconf configure scripts in a directory tree
|
||||
# Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 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
|
||||
@ -30,12 +30,12 @@ older than their predecessors. If you install a new version of
|
||||
Autoconf, running \`autoreconf' remakes all of the files by giving it
|
||||
the \`--force' option.
|
||||
|
||||
-h, --help print this help, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
-m, --macrodir=DIR directory storing macro files
|
||||
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
|
||||
-f, --force consider every files are obsolete
|
||||
-v, --verbose verbosely report processing
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
|
||||
The following options are passed to \`automake':
|
||||
--cygnus assume program is part of Cygnus-style tree
|
||||
@ -50,7 +50,7 @@ version="\
|
||||
autoreconf (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 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."
|
||||
|
||||
@ -69,7 +69,7 @@ while test $# -gt 0; do
|
||||
case "$1" in
|
||||
--help | --h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
--version | --vers*)
|
||||
--version | --vers* | -V )
|
||||
echo "$version"; exit 0 ;;
|
||||
|
||||
--localdir=* | --l*=* )
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @PERL@
|
||||
# autoscan - Create configure.scan (a preliminary configure.in) for a package.
|
||||
# Copyright (C) 1994 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 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
|
||||
@ -47,10 +47,10 @@ current directory if none is given. Search the source files for
|
||||
common portability problems and create a file `configure.scan' which
|
||||
is a preliminary `configure.in' for that package.
|
||||
|
||||
-m, --macrodir=DIR directory storing data files
|
||||
-h, --help print this help, then exit
|
||||
-V, --version print version number, then exit
|
||||
--macrodir=DIR directory storing data files
|
||||
-v, --verbose verbosely report processing
|
||||
--help print this help, then exit
|
||||
--version print version number, then exit
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
EOD
|
||||
@ -59,20 +59,20 @@ EOD
|
||||
autoscan (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie.
|
||||
|
||||
Copyright (C) 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 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."
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
EOD
|
||||
|
||||
foreach $_ (@ARGV) {
|
||||
if (/^--m[a-z]*=(.*)/) {
|
||||
$datadir = $1;
|
||||
} elsif (/^--h/) {
|
||||
} elsif (/^--h/ || /^-h$/) {
|
||||
print "$usage";
|
||||
exit 0;
|
||||
} elsif (/^--verb/) {
|
||||
} elsif (/^--verb/ || /^-v$/) {
|
||||
$verbose = 1;
|
||||
} elsif (/^--vers/) {
|
||||
} elsif (/^--vers/ || /^-V$/) {
|
||||
print "$version";
|
||||
exit 0;
|
||||
} elsif (/^[^-]/) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# ifnames - print the identifiers used in C preprocessor conditionals
|
||||
# Copyright (C) 1994, 1995, 1999 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 95, 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
|
||||
@ -23,6 +23,8 @@
|
||||
# Written by David MacKenzie <djm@gnu.ai.mit.edu>
|
||||
# and Paul Eggert <eggert@twinsun.com>.
|
||||
|
||||
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||
|
||||
usage="\
|
||||
Usage: ifnames [OPTION] ... [FILE] ...
|
||||
|
||||
@ -32,9 +34,9 @@ identifiers that appear in those files in \`#if', \`#elif', \`#ifdef', or
|
||||
\`#ifndef' directives. Print each identifier on a line, followed by a
|
||||
space-separated list of the files in which that identifier occurs.
|
||||
|
||||
-v, --verbose verbosely report processing
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>."
|
||||
|
||||
@ -42,19 +44,26 @@ version="\
|
||||
ifnames (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie and Paul Eggert.
|
||||
|
||||
Copyright (C) 1994, 1995, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 95, 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."
|
||||
|
||||
help="\
|
||||
Try \`$me --help' for more information."
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-h | --help | --h* )
|
||||
--h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
--version | --versio | --versi | --vers)
|
||||
--v* | -V )
|
||||
echo "$version"; exit 0 ;;
|
||||
--) # Stop option processing.
|
||||
shift; break ;;
|
||||
-*) echo "$usage" 1>&2; exit 1 ;;
|
||||
-*)
|
||||
exec >&2
|
||||
echo "$me: invalid option $1"
|
||||
echo "$help"
|
||||
exit 1 ;;
|
||||
*) break ;;
|
||||
esac
|
||||
done
|
||||
|
@ -623,6 +623,7 @@ Print the names of the files it examines and the potentially interesting
|
||||
symbols it finds in them. This output can be voluminous.
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version number of Autoconf and exit.
|
||||
@end table
|
||||
|
||||
@ -654,6 +655,7 @@ space-separated list of the files in which that identifier occurs.
|
||||
Print a summary of the command line options and exit.
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version number of Autoconf and exit.
|
||||
@end table
|
||||
|
||||
@ -701,6 +703,7 @@ set the @code{AC_MACRODIR} environment variable to a directory; this
|
||||
option overrides the environment variable.
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version number of Autoconf and exit.
|
||||
|
||||
@item --trace=@var{macro}
|
||||
@ -796,6 +799,7 @@ Print the name of each directory where @code{autoreconf} runs
|
||||
@code{autoconf} (and @code{autoheader}, if appropriate).
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version number of Autoconf and exit.
|
||||
@end table
|
||||
|
||||
@ -1550,6 +1554,7 @@ Look for the installed macro files and @file{acconfig.h} in directory
|
||||
to a directory; this option overrides the environment variable.
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version number of Autoconf and exit.
|
||||
@end table
|
||||
|
||||
@ -5747,6 +5752,7 @@ Print a summary of the command line options, a list of the template
|
||||
files and exit.
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version number of Autoconf used to create the @code{configure}
|
||||
script that generated @file{config.status} and exit.
|
||||
@end table
|
||||
@ -6165,6 +6171,7 @@ environment variable to a directory; this option overrides the
|
||||
environment variable.
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version number of @code{autoupdate} and exit.
|
||||
@end table
|
||||
|
||||
|
@ -220,6 +220,7 @@ operates.
|
||||
Print a summary of the options to @code{configure}, and exit.
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version of Autoconf used to generate the @code{configure}
|
||||
script, and exit.
|
||||
|
||||
|
23
ifnames.in
23
ifnames.in
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# ifnames - print the identifiers used in C preprocessor conditionals
|
||||
# Copyright (C) 1994, 1995, 1999 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 95, 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
|
||||
@ -23,6 +23,8 @@
|
||||
# Written by David MacKenzie <djm@gnu.ai.mit.edu>
|
||||
# and Paul Eggert <eggert@twinsun.com>.
|
||||
|
||||
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||
|
||||
usage="\
|
||||
Usage: ifnames [OPTION] ... [FILE] ...
|
||||
|
||||
@ -32,9 +34,9 @@ identifiers that appear in those files in \`#if', \`#elif', \`#ifdef', or
|
||||
\`#ifndef' directives. Print each identifier on a line, followed by a
|
||||
space-separated list of the files in which that identifier occurs.
|
||||
|
||||
-v, --verbose verbosely report processing
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>."
|
||||
|
||||
@ -42,19 +44,26 @@ version="\
|
||||
ifnames (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie and Paul Eggert.
|
||||
|
||||
Copyright (C) 1994, 1995, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 95, 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."
|
||||
|
||||
help="\
|
||||
Try \`$me --help' for more information."
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-h | --help | --h* )
|
||||
--h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
--version | --versio | --versi | --vers)
|
||||
--v* | -V )
|
||||
echo "$version"; exit 0 ;;
|
||||
--) # Stop option processing.
|
||||
shift; break ;;
|
||||
-*) echo "$usage" 1>&2; exit 1 ;;
|
||||
-*)
|
||||
exec >&2
|
||||
echo "$me: invalid option $1"
|
||||
echo "$help"
|
||||
exit 1 ;;
|
||||
*) break ;;
|
||||
esac
|
||||
done
|
||||
|
23
ifnames.sh
23
ifnames.sh
@ -1,6 +1,6 @@
|
||||
#! @SHELL@
|
||||
# ifnames - print the identifiers used in C preprocessor conditionals
|
||||
# Copyright (C) 1994, 1995, 1999 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 95, 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
|
||||
@ -23,6 +23,8 @@
|
||||
# Written by David MacKenzie <djm@gnu.ai.mit.edu>
|
||||
# and Paul Eggert <eggert@twinsun.com>.
|
||||
|
||||
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||
|
||||
usage="\
|
||||
Usage: ifnames [OPTION] ... [FILE] ...
|
||||
|
||||
@ -32,9 +34,9 @@ identifiers that appear in those files in \`#if', \`#elif', \`#ifdef', or
|
||||
\`#ifndef' directives. Print each identifier on a line, followed by a
|
||||
space-separated list of the files in which that identifier occurs.
|
||||
|
||||
-v, --verbose verbosely report processing
|
||||
-h, --help print this help, then exit
|
||||
--version print version number, then exit
|
||||
-V, --version print version number, then exit
|
||||
-v, --verbose verbosely report processing
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>."
|
||||
|
||||
@ -42,19 +44,26 @@ version="\
|
||||
ifnames (GNU @PACKAGE@) @VERSION@
|
||||
Written by David J. MacKenzie and Paul Eggert.
|
||||
|
||||
Copyright (C) 1994, 1995, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 95, 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."
|
||||
|
||||
help="\
|
||||
Try \`$me --help' for more information."
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-h | --help | --h* )
|
||||
--h* | -h )
|
||||
echo "$usage"; exit 0 ;;
|
||||
--version | --versio | --versi | --vers)
|
||||
--v* | -V )
|
||||
echo "$version"; exit 0 ;;
|
||||
--) # Stop option processing.
|
||||
shift; break ;;
|
||||
-*) echo "$usage" 1>&2; exit 1 ;;
|
||||
-*)
|
||||
exec >&2
|
||||
echo "$me: invalid option $1"
|
||||
echo "$help"
|
||||
exit 1 ;;
|
||||
*) break ;;
|
||||
esac
|
||||
done
|
||||
|
@ -709,7 +709,7 @@ Defaults for the options are specified in brackets.
|
||||
|
||||
Configuration:
|
||||
-h, --help print this message
|
||||
--version print the version of autoconf that created configure
|
||||
-V, --version print the version of autoconf that created configure
|
||||
-q, --quiet, --silent do not print \`checking...' messages
|
||||
--cache-file=FILE cache test results in FILE
|
||||
-n, --no-create do not create output files
|
||||
@ -914,7 +914,7 @@ Some influent environment variables:$ac_arg_var_help"
|
||||
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
||||
verbose=yes ;;
|
||||
|
||||
-version | --version | --versio | --versi | --vers)
|
||||
-version | --version | --versio | --versi | --vers | -V)
|
||||
echo "configure generated by autoconf version ]AC_ACVERSION["
|
||||
exit 0 ;;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
|
||||
.TH AUTOCONF "1" "February 2000" "GNU autoconf 2.14a" FSF
|
||||
.TH AUTOCONF "1" "March 2000" "GNU autoconf 2.14a" FSF
|
||||
.SH NAME
|
||||
autoconf \- Generate configuration scripts
|
||||
.SH SYNOPSIS
|
||||
@ -15,7 +15,7 @@ If the option `--trace' is used, no configuration script is created.
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
print this help, then exit
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
\fB\-V\fR, \fB\-\-version\fR
|
||||
print version number, then exit
|
||||
.TP
|
||||
\fB\-m\fR, \fB\-\-macrodir\fR=\fIDIR\fR
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
|
||||
.TH AUTOHEADER "1" "February 2000" "GNU autoconf 2.14a" FSF
|
||||
.TH AUTOHEADER "1" "March 2000" "GNU autoconf 2.14a" FSF
|
||||
.SH NAME
|
||||
autoheader \- Create a template header for configure
|
||||
.SH SYNOPSIS
|
||||
@ -13,9 +13,12 @@ given.
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
print this help, then exit
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
\fB\-V\fR, \fB\-\-version\fR
|
||||
print version number, then exit
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
verbosely report processing
|
||||
.TP
|
||||
\fB\-d\fR, \fB\-\-debug\fR
|
||||
don't remove temporary files
|
||||
.TP
|
||||
@ -24,9 +27,6 @@ directory storing Autoconf's macro files
|
||||
.TP
|
||||
\fB\-l\fR, \fB\-\-localdir\fR=\fIDIR\fR
|
||||
directory storing `aclocal.m4' and `acconfig.h'
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
verbosely report processing
|
||||
.SH AUTHOR
|
||||
Written by Roland McGrath.
|
||||
.SH "REPORTING BUGS"
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
|
||||
.TH AUTORECONF "1" "February 2000" "GNU autoconf 2.14a" FSF
|
||||
.TH AUTORECONF "1" "March 2000" "GNU autoconf 2.14a" FSF
|
||||
.SH NAME
|
||||
autoreconf \- Update generated configuration files
|
||||
.SH SYNOPSIS
|
||||
@ -14,6 +14,15 @@ older than their predecessors. If you install a new version of
|
||||
Autoconf, running `autoreconf' remakes all of the files by giving it
|
||||
the `--force' option.
|
||||
.TP
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
print this help, then exit
|
||||
.TP
|
||||
\fB\-V\fR, \fB\-\-version\fR
|
||||
print version number, then exit
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
verbosely report processing
|
||||
.TP
|
||||
\fB\-m\fR, \fB\-\-macrodir\fR=\fIDIR\fR
|
||||
directory storing macro files
|
||||
.TP
|
||||
@ -22,15 +31,6 @@ directory storing `aclocal.m4' and `acconfig.h'
|
||||
.TP
|
||||
\fB\-f\fR, \fB\-\-force\fR
|
||||
consider every files are obsolete
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
verbosely report processing
|
||||
.TP
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
print this help, then exit
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
print version number, then exit
|
||||
.SS "The following options are passed to `automake':"
|
||||
.TP
|
||||
\fB\-\-cygnus\fR
|
||||
@ -52,7 +52,7 @@ Written by David J. MacKenzie.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright \(co 1994, 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
|
||||
.TH AUTOSCAN "1" "February 2000" "GNU autoconf 2.14a" FSF
|
||||
.TH AUTOSCAN "1" "March 2000" "GNU autoconf 2.14a" FSF
|
||||
.SH NAME
|
||||
autoscan \- Generate a preliminary configure.in
|
||||
.SH SYNOPSIS
|
||||
@ -11,26 +11,26 @@ current directory if none is given. Search the source files for
|
||||
common portability problems and create a file `configure.scan' which
|
||||
is a preliminary `configure.in' for that package.
|
||||
.TP
|
||||
\fB\-m\fR, \fB\-\-macrodir\fR=\fIDIR\fR
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
print this help, then exit
|
||||
.TP
|
||||
\fB\-V\fR, \fB\-\-version\fR
|
||||
print version number, then exit
|
||||
.TP
|
||||
\fB\-\-macrodir\fR=\fIDIR\fR
|
||||
directory storing data files
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
verbosely report processing
|
||||
.TP
|
||||
\fB\-\-help\fR
|
||||
print this help, then exit
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
print version number, then exit
|
||||
.SH AUTHOR
|
||||
Written by David J. MacKenzie.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright \(co 1994, 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."
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.SH "SEE ALSO"
|
||||
.BR autoconf (1),
|
||||
.BR autoreconf (1),
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
|
||||
.TH AUTOUPDATE "1" "February 2000" "GNU autoconf 2.14a" FSF
|
||||
.TH AUTOUPDATE "1" "March 2000" "GNU autoconf 2.14a" FSF
|
||||
.SH NAME
|
||||
autoupdate \- Update a configure.in to a newer Autoconf
|
||||
.SH SYNOPSIS
|
||||
@ -10,20 +10,20 @@ Update the TEMPLATE-FILE... if given, or `configure.in' by default, to
|
||||
the syntax of the current version of `autoconf'. The original files
|
||||
are backed up.
|
||||
.TP
|
||||
\fB\-m\fR, \fB\-\-macrodir\fR=\fIDIR\fR
|
||||
directory storing Autoconf's files
|
||||
.TP
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
print this help, then exit
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
\fB\-V\fR, \fB\-\-version\fR
|
||||
print version number, then exit
|
||||
.TP
|
||||
\fB\-m\fR, \fB\-\-macrodir\fR=\fIDIR\fR
|
||||
directory storing Autoconf's files
|
||||
.SH AUTHOR
|
||||
Written by David J. MacKenzie.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1994, 1999 Free Software Foundation, Inc.
|
||||
Copyright \(co 1994, 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020.
|
||||
.TH IFNAMES "1" "February 2000" "GNU autoconf 2.14a" FSF
|
||||
.TH IFNAMES "1" "March 2000" "GNU autoconf 2.14a" FSF
|
||||
.SH NAME
|
||||
ifnames \- Extract CPP conditionals from a set of files
|
||||
.SH SYNOPSIS
|
||||
@ -12,20 +12,20 @@ identifiers that appear in those files in `#if', `#elif', `#ifdef', or
|
||||
`#ifndef' directives. Print each identifier on a line, followed by a
|
||||
space-separated list of the files in which that identifier occurs.
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
verbosely report processing
|
||||
.TP
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
print this help, then exit
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
\fB\-V\fR, \fB\-\-version\fR
|
||||
print version number, then exit
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
verbosely report processing
|
||||
.SH AUTHOR
|
||||
Written by David J. MacKenzie and Paul Eggert.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug-autoconf@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1994, 1995, 1999 Free Software Foundation, Inc.
|
||||
Copyright \(co 1994, 95, 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user