ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure
(Generate patch)

Comparing IO-AIO/configure (file contents):
Revision 1.2 by root, Sun May 11 01:03:33 2008 UTC vs.
Revision 1.4 by root, Mon May 12 00:31:43 2008 UTC

2708 2708
2709#include <fcntl.h> 2709#include <fcntl.h>
2710int main(void) 2710int main(void)
2711{ 2711{
2712 int fd = 0; 2712 int fd = 0;
2713 off64_t offset = 1;
2714 size_t count = 2; 2713 size_t count = 2;
2715 ssize_t res; 2714 ssize_t res;
2716 res = readahead (fd, offset, count); 2715 res = readahead (fd, 0, count);
2717 return 0; 2716 return 0;
2718} 2717}
2719 2718
2720_ACEOF 2719_ACEOF
2721rm -f conftest.$ac_objext conftest$ac_exeext 2720rm -f conftest.$ac_objext conftest$ac_exeext
2750{ echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5 2749{ echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5
2751echo "${ECHO_T}$ac_cv_readahead" >&6; } 2750echo "${ECHO_T}$ac_cv_readahead" >&6; }
2752test $ac_cv_readahead = yes && 2751test $ac_cv_readahead = yes &&
2753cat >>confdefs.h <<\_ACEOF 2752cat >>confdefs.h <<\_ACEOF
2754#define HAVE_READAHEAD 1 2753#define HAVE_READAHEAD 1
2755_ACEOF
2756
2757test $ac_cv_readahead = yes &&
2758cat >>confdefs.h <<\_ACEOF
2759#define _GNU_SOURCE 1
2760_ACEOF 2754_ACEOF
2761 2755
2762 2756
2763{ echo "$as_me:$LINENO: checking for fdatasync" >&5 2757{ echo "$as_me:$LINENO: checking for fdatasync" >&5
2764echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; } 2758echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines