* 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

@@ -918,3 +918,12 @@ size_t iconv();
fi
AC_SUBST(LIBICONV)
])
# AC_GNU_SOURCE
# -------------
# FIXME: Remove thise once we start using Autoconf 2.5x (x>=4).
AC_DEFUN([AC_GNU_SOURCE],
[AC_BEFORE([$0], [AC_TRY_COMPILE])dnl
AC_BEFORE([$0], [AC_TRY_RUN])dnl
AC_DEFINE([_GNU_SOURCE])
])