* configure.in: Call AC_GNU_SOURCE. Check for pread64 using

AC_CHECK_FUNCS and remove the old check for pread64.
* acinclude.m4 (AC_GNU_SOURCE): New macro.
* acconfig.h (_GNU_SOURCE): Add.
(HAVE_PREAD64): Remove.
* configure, aclocal.m4, config.in: Regenerated.
This commit is contained in:
Mark Kettenis
2003-01-04 00:34:43 +00:00
parent a1ba22c71a
commit 14abd0fbf0
7 changed files with 657 additions and 608 deletions

View File

@ -71,15 +71,17 @@
/* Define vfork as fork if vfork does not work. */
#undef vfork
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Define if your struct reg has r_fs. */
#undef HAVE_STRUCT_REG_R_FS
/* Define if your struct reg has r_gs. */
#undef HAVE_STRUCT_REG_R_GS
/* Define if the pread64 function is available. */
#undef HAVE_PREAD64
/* Define if <link.h> exists and defines struct link_map which has
members with an ``l_'' prefix. (For Solaris, SVR4, and
SVR4-like systems.) */
@ -204,6 +206,9 @@
/* Define if you have the poll function. */
#undef HAVE_POLL
/* Define if you have the pread64 function. */
#undef HAVE_PREAD64
/* Define if you have the putenv function. */
#undef HAVE_PUTENV