1999-01-08 Ben Elliston <bje@cygnus.com>
+ * autoconf.sh: More useful and up-to-date help from the --help
+ option. Contributed by Akim Demaille <demaille@inf.enst.fr>.
+
+ * autoheader.sh: Likewise.
+
+ * autoreconf.sh: Likewise.
+
+ * autoscan.pl: Likewise.
+
+ * autoupdate.sh: Likewise.
+
+ * ifnames.sh: Likewise.
+
* config.guess: Detect Cray T3E and NEC SX-4, SX-5 machines.
Contributed by Andreas Schott <schott@rzg.mpg.de>.
# the given template file.
usage="\
-Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--version] [template-file]"
+Usage: autoconf [OPTION] ... [TEMPLATE-FILE]
+
+Generate a configuration script from a TEMPLATE-FILE if given, or
+\`configure.in' by default. Output is sent to the standard output if
+TEMPLATE-FILE is given, else into \`configure'.
+
+ -m, --macrodir=DIR directory storing macro files
+ -l, --localdir=DIR directory storing the \`aclocal.m4' file
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
# NLS nuisances.
# Only set these to C if already set. These must not be set unconditionally
# the given template file.
usage="\
-Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--version] [template-file]"
+Usage: autoconf [OPTION] ... [TEMPLATE-FILE]
+
+Generate a configuration script from a TEMPLATE-FILE if given, or
+\`configure.in' by default. Output is sent to the standard output if
+TEMPLATE-FILE is given, else into \`configure'.
+
+ -m, --macrodir=DIR directory storing macro files
+ -l, --localdir=DIR directory storing the \`aclocal.m4' file
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
# NLS nuisances.
# Only set these to C if already set. These must not be set unconditionally
# the given template file.
usage="\
-Usage: autoheader [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--version] [template-file]"
+Usage: autoheader [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
+given.
+
+ -m, --macrodir=DIR directory storing macro files
+ -l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
# NLS nuisances.
# Only set these to C if already set. These must not be set unconditionally
# the given template file.
usage="\
-Usage: autoheader [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--version] [template-file]"
+Usage: autoheader [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
+given.
+
+ -m, --macrodir=DIR directory storing macro files
+ -l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
# NLS nuisances.
# Only set these to C if already set. These must not be set unconditionally
# 02111-1307, USA.
usage="\
-Usage: autoreconf [-f] [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--force] [--verbose] [--version]
- [--cygnus] [--foreign] [--gnits] [--gnu] [-i] [--include-deps]"
+Usage: autoreconf [OPTION] ... [TEMPLATE-FILE]
+
+Run \`autoconf' (and \`autoheader' and \`automake', where appropriate)
+repeatedly to remake the Autoconf \`configure' scripts and
+configuration header templates in the directory tree rooted at the
+current directory. By default, it only remakes those files that are
+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.
+
+ -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
+ --foreign set strictness to foreign
+ --gnits set strictness to gnits
+ --gnu set strictness to gnu
+ -i, --include-deps include generated dependencies in Makefile.in
+
+Report bugs to <bug-autoconf@gnu.org>."
localdir=
verbose=no
# 02111-1307, USA.
usage="\
-Usage: autoreconf [-f] [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--force] [--verbose] [--version]
- [--cygnus] [--foreign] [--gnits] [--gnu] [-i] [--include-deps]"
+Usage: autoreconf [OPTION] ... [TEMPLATE-FILE]
+
+Run \`autoconf' (and \`autoheader' and \`automake', where appropriate)
+repeatedly to remake the Autoconf \`configure' scripts and
+configuration header templates in the directory tree rooted at the
+current directory. By default, it only remakes those files that are
+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.
+
+ -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
+ --foreign set strictness to foreign
+ --gnits set strictness to gnits
+ --gnu set strictness to gnu
+ -i, --include-deps include generated dependencies in Makefile.in
+
+Report bugs to <bug-autoconf@gnu.org>."
localdir=
verbose=no
# Process any command line arguments.
sub parse_args
{
- local ($usage) =
- "Usage: autoscan [--macrodir=dir] [--help] [--verbose] [--version] [srcdir]\n";
+ local ($usage) = << 'EOD';
+Usage: autoscan [OPTION] ... [SRCDIR]
+
+Examine source files in the directory tree rooted at SRCDIR, or the
+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
+ -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
foreach $_ (@ARGV) {
if (/^--m[a-z]*=(.*)/) {
# Process any command line arguments.
sub parse_args
{
- local ($usage) =
- "Usage: autoscan [--macrodir=dir] [--help] [--verbose] [--version] [srcdir]\n";
+ local ($usage) = << 'EOD';
+Usage: autoscan [OPTION] ... [SRCDIR]
+
+Examine source files in the directory tree rooted at SRCDIR, or the
+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
+ -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
foreach $_ (@ARGV) {
if (/^--m[a-z]*=(.*)/) {
# the given template file.
usage="\
-Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--version] [template-file]"
+Usage: autoconf [OPTION] ... [TEMPLATE-FILE]
+
+Generate a configuration script from a TEMPLATE-FILE if given, or
+\`configure.in' by default. Output is sent to the standard output if
+TEMPLATE-FILE is given, else into \`configure'.
+
+ -m, --macrodir=DIR directory storing macro files
+ -l, --localdir=DIR directory storing the \`aclocal.m4' file
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
# NLS nuisances.
# Only set these to C if already set. These must not be set unconditionally
# the given template file.
usage="\
-Usage: autoheader [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--version] [template-file]"
+Usage: autoheader [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
+given.
+
+ -m, --macrodir=DIR directory storing macro files
+ -l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
# NLS nuisances.
# Only set these to C if already set. These must not be set unconditionally
# 02111-1307, USA.
usage="\
-Usage: autoreconf [-f] [-h] [--help] [-m dir] [--macrodir=dir]
- [-l dir] [--localdir=dir] [--force] [--verbose] [--version]
- [--cygnus] [--foreign] [--gnits] [--gnu] [-i] [--include-deps]"
+Usage: autoreconf [OPTION] ... [TEMPLATE-FILE]
+
+Run \`autoconf' (and \`autoheader' and \`automake', where appropriate)
+repeatedly to remake the Autoconf \`configure' scripts and
+configuration header templates in the directory tree rooted at the
+current directory. By default, it only remakes those files that are
+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.
+
+ -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
+ --foreign set strictness to foreign
+ --gnits set strictness to gnits
+ --gnu set strictness to gnu
+ -i, --include-deps include generated dependencies in Makefile.in
+
+Report bugs to <bug-autoconf@gnu.org>."
localdir=
verbose=no
# Process any command line arguments.
sub parse_args
{
- local ($usage) =
- "Usage: autoscan [--macrodir=dir] [--help] [--verbose] [--version] [srcdir]\n";
+ local ($usage) = << 'EOD';
+Usage: autoscan [OPTION] ... [SRCDIR]
+
+Examine source files in the directory tree rooted at SRCDIR, or the
+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
+ -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
foreach $_ (@ARGV) {
if (/^--m[a-z]*=(.*)/) {
# and Paul Eggert <eggert@twinsun.com>.
usage="\
-Usage: ifnames [-h] [--help] [-m dir] [--macrodir=dir] [--version] [file...]"
+Usage: ifnames [OPTION] ... [FILE] ...
+
+Scan all of the C source FILES (or the standard input, if none are
+given) and write to the standard output a sorted list of all the
+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.
+
+ -m, --macrodir=DIR directory storing macro files
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
+
show_version=no
: ${AC_MACRODIR=@datadir@}
# and Paul Eggert <eggert@twinsun.com>.
usage="\
-Usage: ifnames [-h] [--help] [-m dir] [--macrodir=dir] [--version] [file...]"
+Usage: ifnames [OPTION] ... [FILE] ...
+
+Scan all of the C source FILES (or the standard input, if none are
+given) and write to the standard output a sorted list of all the
+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.
+
+ -m, --macrodir=DIR directory storing macro files
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
+
show_version=no
: ${AC_MACRODIR=@datadir@}
# and Paul Eggert <eggert@twinsun.com>.
usage="\
-Usage: ifnames [-h] [--help] [-m dir] [--macrodir=dir] [--version] [file...]"
+Usage: ifnames [OPTION] ... [FILE] ...
+
+Scan all of the C source FILES (or the standard input, if none are
+given) and write to the standard output a sorted list of all the
+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.
+
+ -m, --macrodir=DIR directory storing macro files
+ -v, --verbose verbosely report processing
+ -h, --help print this help, then exit
+ --version print version number, then exit
+
+Report bugs to <bug-autoconf@gnu.org>."
+
show_version=no
: ${AC_MACRODIR=@datadir@}