Commit Graph

27 Commits

Author SHA1 Message Date
Akim Demaille
c1c5314017 More uniform style is scripts.
* autoheader.sh: s/-eq/=/.
Uniform ordering of variable initializations, option handling.
Don't use quotes where useless (foo=$1, not foo="$1").
Propagate `run_m4' and `run_m4f'.
Use `$0' in --help.
* autoconf.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
* autoupdate.m4: Small bug: at the end `dnl' is disabled, so use
`m4_dnl'.
2000-03-13 17:26:21 +00:00
Akim Demaille
ab07ba8e08 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 18:17:26 +00:00
Akim Demaille
86b8b0de15 autoreconf had a silly syntax error, test it and fix it.
Reported by Franc,ois Pinard and Rainer Orth.

* autoreconf.sh: Removed spurious `;;'.
Formatting changes.
* tests/tools.m4 (Syntax of the scripts): Run `sh -n' on all the
shell scripts.
2000-02-15 09:15:22 +00:00
Akim Demaille
ed706fc1bf * autoupdate.sh: Don't dump --help on --wrong-option.
* autoconf.sh: Reformating, and use >&2 instead of 1>&2.
* autoreconf.sh: Likewise.
* autoheader.sh: Likewise.
2000-02-08 13:45:24 +00:00
Akim Demaille
a443a89e84 Clean up a bit the user interface.
* autoconf.sh: Give your name while reporting errors.
Don't spit --help for errors on arguments.
* autoreconf.sh: Likewise.
* autoheader.sh: Likewise.
More temporary files that one can browse when debugging.
Don't ${var}, just $var.
Don't dump --help when the arguments are invalid.
(config_h): Use the empty value instead of `undefined' to check
that it is defined.
* acspecific.m4: Formatting changes.
2000-02-08 11:39:46 +00:00
Akim Demaille
394a96e50d 1999-11-10 Akim Demaille <akim@epita.fr>
No need for foo="`bar`", foo=`bar` is fine.
	Simplify ${foo} and ${1} into $foo and $1.

	* acgeneral.m4 (ac_LF_and_DOT): Remove the double quotes.
	* acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Likewise.
	* autoconf.sh: Likewise.
	* autoheader.sh: Likewise.
	* autoreconf.sh: Likewise.
	* autoupdate.sh: Likewise.
	* ifnames.sh: Remove all the code and messages related to
	AC_MACRODIR, since ifnames is not related to macros in anyway.
2000-01-29 09:46:28 +00:00
Akim Demaille
d2750f1138 1999-10-31 Akim Demaille <akim@epita.fr>
Fix the --version of all the executables.

	* Makefile.am (editsh, editpl): Substitute also PACKAGE and
	VERSION.
	* autoconf.sh (version): New string.
	(--version): Use it.
	(--help) Output on stdout, not stderr.
	* autoheader.sh: Likewise.
	* autoreconf.sh: Likewise.
	* autoscan.pl: Likewise.
	* autoupdate.sh: Likewise.
	* ifnames.sh: Likewise.
2000-01-10 10:11:57 +00:00
Ben Elliston
2c5609f43b 1999-09-24 Ben Elliston <bje@cygnus.com>
* autoreconf.sh: Do not run autoheader if AC_CONFIG_HEADER is
	commented out in configure.in. Reported by Erez Zadok
	<ezk@cs.columbia.edu> as a fix for autoconf/21.
1999-09-24 04:45:36 +00:00
Ben Elliston
4fc395c93e 1999-09-07 Ben Elliston <bje@cygnus.com>
* autoreconf.sh: Recognise -v as a synonym for --verbose.
1999-09-07 13:21:40 +00:00
Ben Elliston
117cd369d4 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
* autoreconf.sh: Run aclocal with the -I option only if
	aclocal_dir != `.'.  Fix for autoconf/44.
1999-08-25 13:44:46 +00:00
Ben Elliston
14c9c0e52f 1999-01-11 Akim Demaille <demaille@inf.enst.fr>
* autoreconf.sh (verbose): use either `:' or `echo'.
	(aclocal_m4): Renamed from aclocal.
	(aclocal_flags): New var.
	Run aclocal using $aclocal_flags.
	Redirect ls' stderr to /dev/null to avoid spurious messages.
1999-04-10 06:18:49 +00:00
Ben Elliston
a0cf83b890 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.
1999-01-08 03:38:59 +00:00
Ben Elliston
df646e7699 Merge from autoconf-2-13-rc1. 1999-01-05 03:18:40 +00:00
Ben Elliston
8e80a0b40d 1998-10-29 Alexandre Oliva <oliva@dcc.unicamp.br>
* autoreconf.sh: Support several automake command line options,
	and run aclocal and automake when needed. Also, create stamp files
	just like automake's Makefiles would do for config headers.
	Additional contributions from Tom Tromey <tromey@cygnus.com>.
1998-10-29 00:53:33 +00:00
Ben Elliston
d176bfd8f7 Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>
* autoreconf.sh: Change initial /bin/sh to @SHELL@.
Tue Nov 18 14:21:38 1997  Eric Mumpower  <nocturne@cygnus.com>
        * autoreconf.sh: Do the right thing when AC_CONFIG_HEADER is
        given more than one filename. As noted in the "Invoking
        autoheader" node of the info files, autoheader will use the first
        file argument given to AC_CONFIG_HEADER. Prior to this patch,
        autoreconf would end up executing incorrect shell code (e.g.
        "test ! -f 1.h 2.h.in") in such cases.
        Patch submitted in parallel to bug-gnu-utils@prep.ai.mit.edu.
1998-09-03 00:37:37 +00:00
David MacKenzie
8801bfce14 cleanups 1996-11-20 21:27:29 +00:00
David MacKenzie
148902c9c6 update street address 1996-06-12 17:55:25 +00:00
David MacKenzie
f5cee52491 various bug fixes 1995-02-06 23:31:34 +00:00
David MacKenzie
00bc5e7904 add autoreconf --force 1994-11-04 14:44:38 +00:00
David MacKenzie
7185c6faea various little cleanups 1994-09-27 22:05:22 +00:00
David MacKenzie
69545b86e2 command line fiddling 1994-09-15 21:16:59 +00:00
David MacKenzie
680f86975a fix makefile targets and recursive generation 1994-09-15 18:34:35 +00:00
David MacKenzie
7a6a0d2993 removed dnls, fixed bugs, added autoheader.m4f 1994-09-01 04:59:32 +00:00
David MacKenzie
f7371685eb rewrite AC_DEFINE 1994-08-24 06:41:01 +00:00
David MacKenzie
851b441b35 add new utilities, cache specific macros, document new stuff 1994-07-19 14:44:16 +00:00
David MacKenzie
a88f1f8614 Add options [--help] [--macrodir=dir] [--verbose]
[--version].
1994-05-04 17:34:32 +00:00
David MacKenzie
cdf79c42ed Initial revision 1994-04-30 01:42:39 +00:00