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

Comparing IO-AIO/autoconf/configure.ac (file contents):
Revision 1.5 by root, Tue Aug 23 12:37:19 2005 UTC vs.
Revision 1.6 by root, Fri Jun 1 05:51:21 2007 UTC

1AC_PREREQ(2.59) 1AC_PREREQ(2.59)
2AC_INIT 2AC_INIT
3AC_CONFIG_HEADERS([config.h]) 3AC_CONFIG_HEADERS([config.h])
4 4
5AC_PROG_CC 5AC_PROG_CC
6
7AC_CACHE_CHECK(for futimes, ac_cv_futimes, [AC_LINK_IFELSE([[
8#include <sys/types.h>
9#include <sys/time.h>
10#include <utime.h>
11struct timeval tv[2];
12int res;
13int fd;
14int main(void)
15{
16 res = futimes (fd, tv);
17 return 0;
18}
19]],ac_cv_futimes=yes,ac_cv_futimes=no)])
20test $ac_cv_futimes = yes && AC_DEFINE(HAVE_FUTIMES, 1, futimes(2) is available)
6 21
7AC_CACHE_CHECK(for readahead, ac_cv_readahead, [AC_LINK_IFELSE([ 22AC_CACHE_CHECK(for readahead, ac_cv_readahead, [AC_LINK_IFELSE([
8#include <fcntl.h> 23#include <fcntl.h>
9int main(void) 24int main(void)
10{ 25{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines