* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
commit90fcd46f016bac1f427e91040f2dfd8319d382bc
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Sep 2006 20:57:16 +0000 (26 20:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Sep 2006 20:57:16 +0000 (26 20:57 +0000)
tree8e165663526991addd32dca919afaf424cfc8f10
parent17726a28cc2a754efda4a953790f1e02f2fcbef3
* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
fseeko testing program twice; just use the earlier result.
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
Set cache var to 'unknown' (not 'no') if leaving the macro unset
still doesn't let the program compile.
(AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
failed.

* lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
(AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
include it, without including anything else.
(AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
expressions.
(AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.

* lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
`error.h', and include it, for a `error_at_line' prototype.
Use a nonempty format string in the link test.
* lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
for a declaration of wait3.
ChangeLog
lib/autoconf/functions.m4
lib/autoconf/specific.m4