From 9fc7565e10cf19b99c0917b4daa2466020a8e047 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 20 Jul 2007 22:19:53 +0000 Subject: [PATCH] check for fadvise all the time git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1161 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/configure.ac | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/program/configure.ac b/program/configure.ac index 32daec3d..ba085371 100644 --- a/program/configure.ac +++ b/program/configure.ac @@ -437,12 +437,11 @@ dnl enable_mmap="no" fi fi -dnl use FD based I/O ? -if test "x$enable_mmap" = "xno";then - AC_CHECK_DECLS(posix_fadvise, [], [], [#define _XOPEN_SOURCE 600 +dnl can we use posix_fadvise +AC_CHECK_DECLS(posix_fadvise, [], [], [#define _XOPEN_SOURCE 600 #include ]) - AC_CHECK_FUNCS(posix_fadvise) -fi +AC_CHECK_FUNCS(posix_fadvise) + CONFIGURE_PART(IEEE Math Checks) -- 2.30.2