--- libeio/libeio.m4 2008/05/11 01:03:33 1.3 +++ libeio/libeio.m4 2008/05/12 00:31:43 1.5 @@ -25,15 +25,13 @@ int main(void) { int fd = 0; - off64_t offset = 1; size_t count = 2; ssize_t res; - res = readahead (fd, offset, count); + res = readahead (fd, 0, count); return 0; } ],ac_cv_readahead=yes,ac_cv_readahead=no)]) test $ac_cv_readahead = yes && AC_DEFINE(HAVE_READAHEAD, 1, readahead(2) is available (linux)) -test $ac_cv_readahead = yes && AC_DEFINE(_GNU_SOURCE, 1, _GNU_SOURCE required for readahead (linux)) AC_CACHE_CHECK(for fdatasync, ac_cv_fdatasync, [AC_LINK_IFELSE([ #include