Commit Graph

100 Commits

Author SHA1 Message Date
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