Commit Graph

71 Commits

Author SHA1 Message Date
Akim Demaille
a7021f6f4c Updated TODO. 2000-03-01 08:23:08 +00:00
Akim Demaille
c979e7622f Restore AC_HAVE_LIBRARY.
* acgeneral.m4 (AC_HAVE_LIBRARY): AU_DEFUNed in terms of
AC_CHECK_LIB.
* doc/autoconf.texi (Libraries): Document.
2000-02-10 08:42:26 +00:00
Akim Demaille
13110f0768 Promote AC_LANG_CASE.
* acgeneral.m4 (AC_TRY_COMPILER, AC_TRY_LINK_FUNC, AC_CHECK_LIB,
AC_TRY_COMPILE, AC_TRY_LINK, AC_TRY_RUN_NATIVE, AC_CHECK_FUNC):
Use AC_LANG_CASE instead of ifelse (AC_LANG, ...).
(AC_TRY_LINK_FUNC): Quote the body the the AC_DEFUN (whoa, how
could this survive so long?!?).
2000-02-08 09:54:19 +00:00
Akim Demaille
37ed7bc3f2 * TODO: Updated.
* THANKS: Updated.
2000-02-08 08:53:03 +00:00
Akim Demaille
eb8389f45e Updated. 2000-02-04 13:40:55 +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
13527a7b56 1999-11-01 Akim Demaille <akim@epita.fr>
Fix a bit of the brokenness of AC_CHECK_TYPE.

	* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): New macro, inspired from
 	the former AC_CHECK_TYPE.  This macro is exactly the one that
 	ought to be named AC_CHECK_TYPE: it just checks, and executes user
 	actions.  In the future, this macro ought to be renamed
 	AC_CHECK_TYPE.
	There is a big difference with the former AC_CHECK_TYPE: instead
 	of grepping in the headers, it tries to compile a variable
 	declaration.  This is both safer, slower, and better, since now we
 	can check for compiler types (e.g., unsigned long long).
	(AC_CHECK_TYPES): The looping and AC_DEFINEing version of the
 	previous macro.  Uses m4 loops.
	(AC_CHECK_TYPE): Reimplemented on top of AC_CHECK_TYPE_INTERNAL.
  	* autoheader.m4 (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros,
 	hooked.
	* autoconf.texi (@ovar): New macro, for optional variables.
	(Generic Typedefs): Document AC_CHECK_TYPES.
	* autoheader.texi: (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros.
	(Epilogue): Hooks them.
2000-01-28 10:41:47 +00:00
Akim Demaille
34f2e68a41 1999-10-31 Akim Demaille <akim@epita.fr>
* TODO: Updated.
2000-01-14 17:47:49 +00:00
Akim Demaille
8b00e62b03 1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formating changes.
1999-12-21 13:34:50 +00:00
Akim Demaille
8b25a45df6 1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_GNU_M4): New macro.
	* configure.in: Use it.
1999-12-21 11:25:59 +00:00
Akim Demaille
e157215536 1999-10-31 Akim Demaille <akim@epita.fr>
Provide a means to specify commands to run before config.status is
	created (and, for symmetry, after it is created).

	This is typically needed by Automake so that AC_REPLACEd functions
	go through deansification via

	LIBOBJS=`echo $LIBOBJS | sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`

	and/or by Libtool which needs to define LTLIBOBJS and others:

	LTLIBOBJS=`echo $LIBOBJS | sed 's/\.o/\.lo/g'`
	AC_SUBST(LTLIBOBJS)

	* acgeneral.m4 (AC_OUTPUT_PRE_COMMANDS): New growing string.
	Initialize.
	(AC_OUTPUT_POST_COMMANDS): Likewise.
	(AC_CONFIG_PRE_COMMANDS): New macro, grows AC_OUTPUT_PRE_COMMANDS.
	(AC_CONFIG_PRE_COMMANDS): Likewise.
	(AC_OUTPUT): Run AC_OUTPUT_PRE_COMMANDS before
	AC_OUTPUT_CONFIG_STATUS, and AC_OUTPUT_POST_COMMANDS after.
1999-12-21 11:11:54 +00:00
Akim Demaille
94c8403019 1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formating changes.
1999-12-20 13:52:57 +00:00
Akim Demaille
ed0f9a6d4e 1999-10-31 Akim Demaille <akim@epita.fr>
Rename the family AC_NEED_DECL as AC_CHECK: it is more uniform,
	but keep defining NEED_FOO_DECL when `foo' is not declared.  Files
	not using Autoconf behave better when declarations lacks than when
	they are wrong.  So the unset position should off, hence #if NEEDS
	instead of #if !HAVE (which is triggered when HAVE is not set).

	* acgeneral.m4 (AC_NEED_DECL): Renamed as...
	(AC_CHECK_DECL): This.  Make sure the arguments are the usual
	IF-FOUND, IF-NOT-FOUND.
	(AC_NEED_DECLS, AC_CHECK_DECLS): Likewise.
	* autoconf.texi (Generic Declarations): Document the changes
 	aforementioned.
	* autoheader.m4 (AH_NEED_DECLS): Renamed as
	(AH_CHECK_DECLS): This.
	(AH_HOOKS): Hook AH_CHECK_DECLS on AC_CHECK_DECLS instead of
	_NEED_.
1999-12-20 13:40:18 +00:00
Akim Demaille
80c299377a Updated. 1999-12-20 13:33:27 +00:00
Akim Demaille
5aa38da39b 1999-10-31 Akim Demaille <akim@epita.fr>
New macro: AC_CONFIG_FILES which is very much like AC_OUTPUT but
      that one associates commands to run when a config file is
      created.  For instance for a shell script `foo', one uses
      AC_CONFIG_FILES(foo, chmod +x foo).

      In addition, check that the same name is never used twice in
      config files, headers, subdirs and links.

      * acgeneral.m4 (m4_append): Don't insert new line between
      elements.
      (m4_list_append): New macro.
      (AC_CONFIG_IF_MEMBER): New macro which tests if a file is member
      of a config list.
      (AC_CONFIG_UNIQUE): New macro which ensures that a config file
      name is not yet used.
      (AC_CONFIG_HEADER, AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS): Use
      AC_CONFIG_UNIQUE.

      * acgeneral.m4 (AC_CONFIG_FILES): New macro.
      (AC_LIST_FILES): New list, which stores arguments of
      AC_CONFIG_LISTS the same as AC_LIST_LINKS stores AC_CONFIG_LINKS
      etc.
      (AC_OUTPUT): No longer rely on $1 to designate the config files:
      register them via AC_CONFIG_FILES.  All uses of $1 replaced by
      uses of AC_LIST_FILES.
      (AC_OUTPUT_FILES): Run the commands associated to the
      CONFIG_FILES.
1999-12-20 12:14:28 +00:00
Akim Demaille
93a205e8a5 1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formating changes.
	* acgeneral.m4: Likewise.
1999-12-20 12:05:14 +00:00
Ben Elliston
c645272f5f 1999-10-31 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CC_STDC, AC_C_PROTOTYPES): Inherit from
	Automake. From Franc,ois Pinard.
	* autoconf.texi (Particular Programs): Document AC_PROG_CC_STDC.
	(C Compiler Characteristics): Document AC_C_PROTOTYPES.
1999-10-31 00:56:04 +00:00
Ben Elliston
3f9c7f6cb7 * merged from the experimental branch.
1999-09-25  Akim Demaille  <akim@epita.fr>

	* TODO: Updated. Added a section for 2.15 and 3.
1999-10-26 03:39:25 +00:00
Ben Elliston
cfff564377 Some more, some less. 1999-04-11 05:15:59 +00:00
Ben Elliston
b53e6eb440 Bring up to date--lots of old stuff has been taken care of. 1999-02-25 18:10:41 +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
670670f0c4 lots of new ways to create stuff 1996-11-20 05:09:56 +00:00
David MacKenzie
27baa892d9 rewhack the compiler checking and fix some minor bugs 1996-11-20 00:21:34 +00:00
David MacKenzie
b1e18dbda8 more tweaks 1996-11-15 00:04:39 +00:00
David MacKenzie
c5c3ee51bd fix AC_PATH_XTRA for solaris 1996-11-14 00:42:10 +00:00
David MacKenzie
4ecef17a07 tweaks; test release 2.10.3 1996-11-13 17:24:58 +00:00
David MacKenzie
bfa15ba91d split up sed substitution commands 1996-11-13 05:18:44 +00:00
David MacKenzie
618b5d14d1 more improvements from the net 1996-11-12 07:17:30 +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
55af85f0bf various tweaks 1995-07-26 05:30:39 +00:00
David MacKenzie
3e669c2118 Add AC_CACHE_CHECK. 1995-06-28 20:19:08 +00:00
David MacKenzie
ad29ca7254 Add more rumination on caching canonicals. 1995-06-23 04:01:29 +00:00
David MacKenzie
52da270341 Small improvements from TODO. 1995-06-23 03:39:38 +00:00
David MacKenzie
0c29fe2579 fix little nits 1995-03-23 23:49:35 +00:00
David MacKenzie
a24e304db5 add another suggestion 1995-03-07 17:08:21 +00:00
David MacKenzie
0f53fcad1b various little patches 1995-03-07 00:19:27 +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
f96c4a3d2d new suggestion 1994-10-19 05:40:50 +00:00
David MacKenzie
c68fadb1ad add note 1994-10-18 16:55:07 +00:00
David MacKenzie
855ae6171f check one off 1994-10-18 16:54:08 +00:00
David MacKenzie
9dbffb68f4 revise automake todo. 1994-10-18 16:26:37 +00:00
David MacKenzie
85715008c6 undo typedef rename; add macro from paul eggert 1994-10-01 23:13:28 +00:00
David MacKenzie
d11bd8ab28 doc tweaks 1994-09-28 17:08:55 +00:00
David MacKenzie
7185c6faea various little cleanups 1994-09-27 22:05:22 +00:00