]> git.ipfire.org Git - thirdparty/autoconf.git/commit
1999-10-31 Akim Demaille <akim@epita.fr>
authorAkim Demaille <akim@epita.fr>
Mon, 20 Dec 1999 13:40:18 +0000 (13:40 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 20 Dec 1999 13:40:18 +0000 (13:40 +0000)
commited0f9a6d4e4ee82a7e19e4bb6cbc3726dabada62
tree4926ff075e996bb07a242c745e82777a2ddd84fe
parent7d748952437a1b718d955cb1e69d64be2790b266
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_.
ChangeLog
TODO
acgeneral.m4
acspecific.m4
autoconf.texi
autoheader.m4
doc/autoconf.texi
lib/autoconf/general.m4
lib/autoconf/specific.m4