ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/libeio.m4
(Generate patch)

Comparing libeio/libeio.m4 (file contents):
Revision 1.21 by root, Tue Nov 13 19:49:32 2012 UTC vs.
Revision 1.22 by root, Tue Nov 13 20:14:57 2012 UTC

7 [pthread pthreads pthreadVC2], 7 [pthread pthreads pthreadVC2],
8 , 8 ,
9 [AC_MSG_ERROR(pthread functions not found)] 9 [AC_MSG_ERROR(pthread functions not found)]
10) 10)
11 11
12AC_CACHE_CHECK(for utimes, ac_cv_utimes, [AC_LINK_IFELSE([AC_LANG_SOURCE([ 12AC_CACHE_CHECK(for utimes, ac_cv_utimes, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
13#include <sys/types.h> 13#include <sys/types.h>
14#include <sys/time.h> 14#include <sys/time.h>
15#include <utime.h> 15#include <utime.h>
16struct timeval tv[2]; 16struct timeval tv[2];
17int res; 17int res;
18int main (void) 18int main (void)
19{ 19{
20 res = utimes ("/", tv); 20 res = utimes ("/", tv);
21 return 0; 21 return 0;
22} 22}
23])],ac_cv_utimes=yes,ac_cv_utimes=no)]) 23]])],ac_cv_utimes=yes,ac_cv_utimes=no)])
24test $ac_cv_utimes = yes && AC_DEFINE(HAVE_UTIMES, 1, utimes(2) is available) 24test $ac_cv_utimes = yes && AC_DEFINE(HAVE_UTIMES, 1, utimes(2) is available)
25 25
26AC_CACHE_CHECK(for futimes, ac_cv_futimes, [AC_LINK_IFELSE([AC_LANG_SOURCE([ 26AC_CACHE_CHECK(for futimes, ac_cv_futimes, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
27#include <sys/types.h> 27#include <sys/types.h>
28#include <sys/time.h> 28#include <sys/time.h>
29#include <utime.h> 29#include <utime.h>
30struct timeval tv[2]; 30struct timeval tv[2];
31int res; 31int res;
33int main (void) 33int main (void)
34{ 34{
35 res = futimes (fd, tv); 35 res = futimes (fd, tv);
36 return 0; 36 return 0;
37} 37}
38])],ac_cv_futimes=yes,ac_cv_futimes=no)]) 38]])],ac_cv_futimes=yes,ac_cv_futimes=no)])
39test $ac_cv_futimes = yes && AC_DEFINE(HAVE_FUTIMES, 1, futimes(2) is available) 39test $ac_cv_futimes = yes && AC_DEFINE(HAVE_FUTIMES, 1, futimes(2) is available)
40 40
41AC_CACHE_CHECK(for readahead, ac_cv_readahead, [AC_LINK_IFELSE([AC_LANG_SOURCE([ 41AC_CACHE_CHECK(for readahead, ac_cv_readahead, [AC_LINK_IFELSE([AC_LANG_SOURCE([
42#include <fcntl.h> 42#include <fcntl.h>
43int main (void) 43int main (void)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines