Commit Graph

166 Commits

Author SHA1 Message Date
Akim Demaille
bc37b8f562 Typos in ChangeLog. 2000-03-13 15:31:26 +00:00
Jim Meyering
f590fb6249 Use rm -f', not just rm' when removing temporaries.
Preserve exit status in trap handler.
Based on suggestions from Paul Eggert.
2000-03-04 08:46:31 +00:00
Akim Demaille
c33696519a Move the quadrigraphs out of the user name space.
* acgeneral.m4: 's/@BKL@/@<:@/g', 's/@BKR@/@:>@/g',
's/@DLR@/@S|@/g', 's/@PND@/@%:@/g'.
* acspecific.m4: Likewise.
* autoconf.sh: Likewise.
2000-03-03 14:25:03 +00:00
Akim Demaille
f765eb228e * autoscan.pl (parse_args): Add support for -m <macrodir>. 2000-03-02 18:25:34 +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
4cab1fd7fe * autoconf.sh (AC_ACLOCALDIR): Use (aclocal) 2>/dev/null, not
`aclocal 2>/dev/null` if you want no complains for missing
aclocal.
From Nicolas Joly.
2000-02-24 18:25:03 +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
7920aff8d2 * autoconf.sh (options handling): --v* of --version was shadowing
--verbose.
2000-02-15 09:10:23 +00:00
Akim Demaille
920939e349 Don't use `cat -s' to single out new-lines, it is not portable.
Also remove trailing blanks.

* tests/Makefile.am (testsuite): Use sed instead of cat.
* tests/torture.m4: No longer check for a trailing space.
* autoconf.sh: Likewise.
2000-02-11 08:59:52 +00:00
Akim Demaille
81b33dc801 * autoheader.sh: Remove the duplicate trap code. 2000-02-10 16:27:35 +00:00
Akim Demaille
a9628b9e93 Interrupting autoheader left temp files.
From Jim Meyering.

* autoheader.sh (usage): The usage is to use $0 here.
(ah_base): Be in TMPDIR.
Install the `trap' before creating the first tmp file.
Also trap on 0.
2000-02-10 13:12:04 +00:00
Akim Demaille
b62028d508 * autoheader.sh (debug): Initialize to `false', not 0. 2000-02-08 17:23:25 +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
0ba85ee10a Clean up autoconf.
* autoconf.sh: Minor reorganizations to clearly separate the
prologue, which is almost common to all the shell scripts of
Autoconf, and the body.
2000-02-08 13:12:49 +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
00f447ee06 * acspecific.m4 (AC_C_INLINE): Proceed as for AC_C_CONST:
condition out the test case if __cpluscplus.
Don't document the autoheader template twice, one is enough.
* autoheader.m4 (AC_CONFIG_HEADER): don't hook on this guy, but
on...
(AC_CONFIG_HEADERS), since the former is defined on the latter.
2000-02-07 15:39:16 +00:00
Akim Demaille
ddfcae90fa 1999-11-10 Akim Demaille <akim@epita.fr>
* autoconf.sh: Formatting changes.
	Removed development junk.
	* acspecific.m4: Formatting changes.
	* autoconf.m4: Likewise.
	* autoheader.m4: Likewise.
2000-01-29 11:37:48 +00:00
Akim Demaille
a8b1835003 1999-11-10 Akim Demaille <akim@epita.fr>
Make autoconf support --install.

	* autoconf.sh (task install): New task.  Extract the set of
	auxiliary m4 files a configure.in depends upon.  Install links
	from library files to the local dir so that the packages depends
	only on local extensions.  Check that the user includes exactly
	the files she needs.
2000-01-29 09:54:27 +00:00
Akim Demaille
a47826499c 1999-11-10 Akim Demaille <akim@epita.fr>
Require GNU m4 1.4 (well 1.3 in fact).

	Because we are ready to handle the case where there are no frozen
	files, we *have* to pass a -I, which is dangerous in conjunction
	with the silent including of `aclocal.m4': you may include things
	that were not expected.  Since anyway handling pre 1.3 complicates
	the task, just require an m4 which supports reloading of frozen
	files.

	* acspecific.m4 (AC_PROG_GNU_M4): Check for --reload.
	* autoconf.sh: Likewise
	* autoheader.sh: Likewise.
	* configure.in: Explicitly state the m4 version you want.
2000-01-29 09:51:17 +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
48b898876a 2000-01-29 Akim Demaille <akim@epita.fr>
* autoheader.sh: No longer rely on a system acconfig.h.
2000-01-29 09:24:30 +00:00
Akim Demaille
13692cadbc 1999-11-01 Akim Demaille <akim@epita.fr>
Be kind to Automake: list the arguments of selected macros
	(for instance AC_SUBST will list each variable which may be
 	substitued).

	* autoconf.sh (--trace, --output): New options.
	Implement tracing of macros.
	trap also on 0, so that there is no need to rm here and there.
	* autoconf.texi (Output): Document --trace and --output.
2000-01-29 09:22:53 +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
Akim Demaille
ecb19983da 1999-10-31 Akim Demaille <akim@epita.fr>
Perform a better checking for missing templates in autoheader.

	* autoheader.m4 (AH_HOOK): When hook AC_FOO on AH_FOO, define the
	new AC_FOO to be the expansion of both AH_FOO *and* AC_FOO.  See
	its definition for the motivations.

	* autoheader.m4 (AH_FUNC_ALLOCA): Remove the now useless
	additional templates.
2000-01-10 10:06:51 +00:00
Akim Demaille
de65ecc7bb 1999-10-31 Akim Demaille <akim@epita.fr>
* autoconf.sh (Looking for bugs): In addition to AC_, match AH_
	and AM_.
1999-12-20 12:10:47 +00:00
Ben Elliston
7e49021235 * Merged from the experimental branch. 1999-10-30 14:17:20 +00:00
Ben Elliston
13c2d5fb65 1999-09-21 Akim Demaille <akim@epita.fr>
* autoconf.sh (Checking for Bugs): Remove the indirection that
	made the `sort -u' useless.

1999-09-21  Akim Demaille  <akim@epita.fr>

	* autoconf.sh (Last sed cmd): Change also @PND@ to `#', since this
	is also a symbol very hard to quote in m4.

1999-09-13  Akim Demaille  <akim@epita.fr>

	* autoconf.sh: Substitute also /@BKL@/[/ /@BKR@/]/ /@DLR@/$/ so
	that these characters are more easily accessible from m4 without
	turning changequote juggling into a nightmare.
1999-10-17 11:38:55 +00:00
Ben Elliston
db93a8d50b 1999-09-27 Ben Elliston <bje@cygnus.com>
* autoscan.pl (scan_files): Emit an AC_PROG_CC invocation to
	configure.scan if there are any C files present. Fix for
	autoconf/19.
1999-09-26 21:31:29 +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
4af17bffbe 1999-09-20 Ben Elliston <bje@cygnus.com>
* autoheader.sh: Bourne shell compatibility fix. From Pavel Roskin
	<pavel_roskin@geocities.com>.
1999-09-20 12:39:46 +00:00
Ben Elliston
26d35b5f5a 1999-09-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Fix for autoconf/28.
	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is \012, use
	`echo` followed by a non-blank, within quotes.
	* autoheader.sh (syms): Likewise.
	* configure: Rebuilt.
1999-09-15 04:23:15 +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
e0ffe3d070 1999-03-22 Pavel Roskin <pavel_roskin@geocities.com>
* autoheader.sh: Report an error if AC_CONFIG_HEADER is not
	present in the configure input file.
1999-03-21 13:54:14 +00:00
Ben Elliston
99759c687a 1999-02-26 Ben Elliston <bje@cygnus.com>
* autoscan.pl (parse_args): Make compatible with Perl version 4.
1999-02-25 18:15:07 +00:00
Ben Elliston
1e2a4abc7a 1999-01-23 Ben Elliston <bje@cygnus.com>
* autoheader.sh: Force $tmpout to close to avoid Windows file
	sharing conflicts. From Mark Elbrecht <snowball3@usa.net>.
1999-01-23 05:39:52 +00:00
Ben Elliston
4d134a089b 1999-01-19 Pavel Roskin <pavel_roskin@geocities.com>
* ifnames.sh: Source lines ending with backslash are prepended to
	the following line before further processing.
1999-01-19 06:58:47 +00:00
Ben Elliston
064764930f 1999-01-13 Ben Elliston <bje@cygnus.com>
* autoconf.sh: Remove -v and --verbose from the command line usage
	help. They do not exist.
1999-01-13 04:38:34 +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
013957a4ce Sun Oct 4 21:57:20 1998 Tom Tromey <tromey@cygnus.com>
* autoconf.texi (Defining Symbols): Documented third argument to
	AC_DEFINE.
	* autoheader.m4 (AC_DEFINE_UNQUOTED): Generate `verbatim'
	assignment if third argument given.
	(AC_DEFINE): Likewise.
	* acgeneral.m4 (AC_DEFINE): Handle case where $# is 3.
	(AC_DEFINE_UNQUOTED): Likewise.
	* autoheader.sh: Echo $verbatim if not empty.
1998-10-09 07:44:10 +00:00
Ben Elliston
3aff0fe3ab Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>
* autoconf.sh: Change initial /bin/sh to @SHELL@.
1998-09-03 00:47:24 +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
Ben Elliston
7846c78829 Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>
* autoheader.sh: Change initial /bin/sh to @SHELL@.
1998-09-03 00:32:51 +00:00
Ben Elliston
7bfcfbcfe2 Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>
* ifnames.sh: Change initial /bin/sh to @SHELL@.
1998-09-02 23:39:30 +00:00
David MacKenzie
8801bfce14 cleanups 1996-11-20 21:27:29 +00:00
David MacKenzie
f989a49ded bug fixes for quoting and locales 1996-11-20 19:13:42 +00:00
David MacKenzie
b1e18dbda8 more tweaks 1996-11-15 00:04:39 +00:00
David MacKenzie
81a0a80172 more tweaks 1996-11-14 18:03:47 +00:00
David MacKenzie
4ecef17a07 tweaks; test release 2.10.3 1996-11-13 17:24:58 +00:00
David MacKenzie
8fb56d8ec4 more bug fixes 1996-11-12 04:48:04 +00:00
David MacKenzie
e579d06b61 many bug fixes and a few additions, mostly derived from bug-gnu-utils 1996-11-09 22:19:24 +00:00
David MacKenzie
19f8338d7e various bug fixes and small improvements 1996-11-09 00:44:49 +00:00
David MacKenzie
148902c9c6 update street address 1996-06-12 17:55:25 +00:00
Roland McGrath
918ed87366 Sun May 26 19:07:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* autoheader.sh: Put $syms in a temporary file and use fgrep -f.
1996-05-26 23:43:22 +00:00
David MacKenzie
5dd85be628 ignore undefined macros in shell comments 1996-01-16 04:45:37 +00:00
Roland McGrath
dcd9307236 (undefined macro check): \ sed \s inside "". If grep $name in $infile misses,
give error message that there must be an Autoconf bug.
1996-01-05 22:50:12 +00:00
Miles Bader
90742cf466 Define $AWK from the subst @AWK@, and use it, instead of just `awk'. 1995-11-24 22:36:37 +00:00
David MacKenzie
c77ff9f7d2 more bug fixes 1995-11-22 17:42:19 +00:00
David MacKenzie
32dcea46ac bug fixes from net 1995-11-20 20:34:22 +00:00
David MacKenzie
a0a0bd3eef fix some bugs reported by users 1995-11-17 21:55:25 +00:00
David MacKenzie
55af85f0bf various tweaks 1995-07-26 05:30:39 +00:00
David MacKenzie
cb787d8ee0 fix wrong default for finding autoconf files 1995-03-24 04:13:12 +00:00
David MacKenzie
555069628e more little bug fixes 1995-02-21 20:39:40 +00:00
David MacKenzie
bb41a196e7 various bug fixes 1995-02-09 22:44:35 +00:00
David MacKenzie
77caa43c94 various bug fixes 1995-02-07 22:41:14 +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
7c20472d09 fix misc little bugs 1994-11-03 15:49:58 +00:00
David MacKenzie
65f16d9962 Add more blank lines to output. Pacify perl -w. 1994-10-20 11:12:02 +00:00
David MacKenzie
86e1f309c5 remove comments from sed script 1994-10-19 05:41:52 +00:00
David MacKenzie
7185c6faea various little cleanups 1994-09-27 22:05:22 +00:00
David MacKenzie
e21e262b4c always set temp var 1994-09-22 20:53:11 +00:00
David MacKenzie
1a0e293e20 protec for with if 1994-09-18 03:32:50 +00:00
David MacKenzie
e5fdcf0049 minor tweaks 1994-09-17 18:05:24 +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
fccf840837 install-sh, quote cmd line options 1994-09-11 06:20:58 +00:00
David MacKenzie
7a6a0d2993 removed dnls, fixed bugs, added autoheader.m4f 1994-09-01 04:59:32 +00:00
David MacKenzie
f53762c3d1 fix autoconf.shism 1994-08-30 20:30:03 +00:00
David MacKenzie
5863774fc7 add freezing to autoheader 1994-08-30 20:24:50 +00:00
David MacKenzie
9e9ace2ce5 diversions revision, 1.109 1994-08-30 18:42:54 +00:00
David MacKenzie
e7552c2a63 minor stuff 1994-08-27 07:01:13 +00:00
David MacKenzie
d3f2d21c67 add #line, fix AC_SUBST_FILE 1994-08-25 03:45:07 +00:00
David MacKenzie
f7371685eb rewrite AC_DEFINE 1994-08-24 06:41:01 +00:00
David MacKenzie
8aaede57a9 various small adjustments 1994-08-23 15:04:53 +00:00
David MacKenzie
a30c1ef188 clean up substitutions and bugs 1994-08-23 06:01:14 +00:00
David MacKenzie
5047ea80b4 support alternate input file names 1994-08-09 18:35:50 +00:00
David MacKenzie
105ce08b51 various fixes 1994-08-09 14:46:16 +00:00
David MacKenzie
7deea4af3f use new macro names. 1994-08-03 00:15:20 +00:00
David MacKenzie
fff7008edd great renaming. gratuitous spacing changes 1994-08-01 13:44:22 +00:00
David MacKenzie
e33c467f33 minor fixes 1994-07-26 17:15:52 +00:00
David MacKenzie
851b441b35 add new utilities, cache specific macros, document new stuff 1994-07-19 14:44:16 +00:00
David MacKenzie
9c1c62e178 Initial revision 1994-07-19 14:37:37 +00:00
David MacKenzie
66c09ddde8 Go back to old way of doing NLS nuisance test. 1994-05-05 15:49:35 +00:00
David MacKenzie
6b91b3387b Cosmetic change to usage message. 1994-05-04 17:34:32 +00:00
David MacKenzie
a88f1f8614 Add options [--help] [--macrodir=dir] [--verbose]
[--version].
1994-05-04 17:34:32 +00:00
David MacKenzie
2b2ae0ec4c Make the NLS
nuisance test actually do something.
1994-05-04 14:44:23 +00:00