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_.
* configure: Regenerate.
* aclocal.m4: New generated file.
* Makefile.in: Regenerate with Automake.
* testsuite/Makefile.in: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
Use Automake. Based on files from Ben Elliston.
* acgeneral.m4: No longer define AC_ACVERSION, include
acversion.m4.
* acversion.m4.in: New AC_CONFIG_FILE.
* acspecific.m4: Few formating changes.
* autoconf.texi: No longer define EDITION, VERSION and UPDATED:
include version.texi.
AC_OUTPUT the Makefiles mentioned below and acversion.m4.
* configure.in: Use AM_INIT_AUTOMAKE.
Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it.
* Makefile.am: New file.
* mdate-sh: Likewise.
* missing: Likewise.
* testsuite/Makefile.am: Likewise.
* testsuite/autoconf.s/defines.exp: Changed `fail' and `pass' in
`xfail' and `xpass'. The testsuite checks that acconfig.h
templates the AC_DEFINEs. Since we no longer rely on acconfig.h,
the test is obsolete.
* acspecific.m4 (AC_PROG_BINSH, AC_PROG_SED): Don't quote the name
of the macro defined; the testsuite does not recognize this
syntax. From Akim Demaille <akim@epita.fr>.
* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for the kstat_open()
function in libkstat (on systems such as Solaris). This family of
functions is preferred since they don't require setgid permissions
to use them. Fix for autoconf/65.
* acspecific.m4 (AC_HEADER_STDC): Define ISLOWER and ISUPPER
macros correctly on EBCDIC systems. Contributed by Kurt D.
Zeilenga <kurt@openldap.org>. Fix for autoconf/6.
* acspecific.m4 (AC_PROG_INSTALL): set INSTALL_SCRIPT to
${INSTALL} so that automake doesn't propogate install time flags
for INSTALL_PROGRAM into INSTALL_SCRIPT.
* acspecific.m4 (AC_EXEEXT): Do not consider `.xcoff' as a
possible executable filename extension. Contributed by Robert
S. Maier <rsm@math.arizona.edu>.
* standards.texi: Update from FSF.
* acspecific.m4 (AC_PROG_INSTALL): Avoid using the installation
script belonging to HP `pwplus' when running the install
program. Contributed by Steven G. Johnson <stevenj@alum.mit.edu>
and Dave Adams <adams@hpesdwa.fc.hp.com>.
* acspecific.m4 (AC_PROG_CXXCPP): Substitute @CXXCPP@ correctly
when $CXXCPP is overridden in the supervisory shell. Contributed
by Michael Schoene <mrs@mlc.de>.
* acgeneral.m4 (AC_LANG_FORTRAN77): Remove [] (i.e. the m4 quotes)
since it was confusing the testsuite. Also make `f77' the default
for FC, otherwise the testsuite fails.
* autoconf.texi (Fortran 77 Compiler Characteristics): Added new
node documenting the new AC_F77_LIBRARY_LDFLAGS macro.
* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New macro to determine
the linker flags (e.g. `-L' and `-l') for the Fortran 77 intrinsic
and run-time libraries.
* acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): New macro. Detects the
types of formal arguments to select(). Contributed by Lars Hecking
<lhecking@nmrc.ucc.ie>.
* acconfig.h (SELECT_TYPE_ARG1): Add.
(SELECT_TYPE_ARG234): Likewise.
(SELECT_TYPE_ARG5): Likewise.
* acconfig.h (FC_NO_MINUS_C_MINUS_O): Add to complete the Fortran
77 support.
Tue Sep 8 14:06:04 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acgeneral.m4: Make the following macros Fortran 77 aware
(i.e. conditionalize whether to `#include "confdefs.h"', etc.):
(AC_TRY_COMPILE)
(AC_TRY_LINK)
(AC_CHECK_LIB)
* acgeneral.m4 (AC_LANG_FORTRAN77): Rename `AC_LANG_FORTRAN' to
`AC_LANG_FORTRAN77'. Change the Fortran 77 language macro from
`FORTRAN' to `FORTRAN77'.
(AC_LANG_RESTORE): Change the Fortran 77 language macro from
`FORTRAN' to `FORTRAN77'
* autoconf.texi: Updated Fortran 77 documentation, particularly
for `AC_TRY_COMPILE', `AC_TRY_LINK' and `AC_CHECK_LIB'.
Thu Sep 3 09:34:39 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* autoconf.texi: Added Fortran 77 documentation.
* acspecific.m4 (AC_PROG_FC): New macro. Determine a Fortran
compiler to use.
(AC_PROG_FC_WORKS): New macro.
(AC_PROG_FC_GNU): New macro.
(AC_PROG_FC_G): New macro.
(AC_PROG_FC_C_O): New macro.
* acgeneral.m4: Add FFLAGS (Fortran 77 flags).
(AC_LANG_FORTRAN): New macro.
(AC_LANG_RESTORE): Make Fortran 77 aware.
(AC_TRY_COMPILER): Make Fortran 77 aware (i.e. conditionalize
whether to `#include "confdefs.h"').
* acspecific.m4 (AC_C_STRINGIZE): New macro to test the
availability of the stringizing operator in the C preprocessor.
Contributed by Arnold Robbins <arnold@gnu.org> on behalf of the
GNU AWK project.
* acconfig.h (HAVE_STRINGIZE): Add for the AC_C_STRINGIZE macro.
* acspecific.m4 (AC_EXEEXT): Correct setting of ac_exeext when
there is no extension.
Mon Jun 1 12:30:39 1998 Ian Lance Taylor <ian@cygnus.com>
* acspecific.m4 (AC_PROG_INSTALL): Likewise.
(AC_PROG_CC): On cygwin32, if neither gcc nor cc
are found, look for cl.
(AC_PROG_CXX): Look for cl after all other choices.
Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>
Add support for Visual C++:
* acspecific.m4 (AC_PROG_CC): Check whether compiler supports -g
even if it is not gcc.
(AC_PROG_CXX): Likewise.
(AC_PROG_CPP): Try running the compiler with the -nologo option.
(AC_FUNC_ALLOCA): Check for _MSC_VER. Use ac_objext.
(AC_FUNC_MEMCMP): Use ac_objext.
(AC_STRUCT_ST_BLOCKS): Likewise.
(AC_OBJEXT): New macro.
(AC_CYGWIN32, AC_MINGW32, AC_EXEEXT): New macros.
Thu Apr 30 16:29:00 1998 Syd Polk <spolk@cygnus.com>
* acspecific.m4 (SETPGRP_VOID): The test for setpgrp needs
to have unistd.h included or the DEC compiler does not
flag the error that triggers setting the variable.
* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): If $TMPDIR names an
existing, writable directory, then test it instead of /tmp, /var/tmp,
and /usr/tmp for long file name support.
* acspecific.m4 (AC_FUNC_GETLOADAVG): Fix name of -lelf cache variable
name in test of it.
(AC_PATH_XTRA): Fix name of -ldnet cache variable name in test of it.