From: oetiker Date: Fri, 20 Jul 2007 22:19:53 +0000 (+0000) Subject: check for fadvise all the time X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9fc7565e10cf19b99c0917b4daa2466020a8e047;p=rrdtool-all.git check for fadvise all the time git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1161 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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)