From 5da9b71e963fac9f7c8a95ebcbd39c5449a45809 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/program@1161 a5681a0c-68f1-0310-ab6d-d61299d08faa --- configure.ac | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 32daec3..ba08537 100644 --- a/configure.ac +++ b/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.11.0