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

Comparing libeio/libeio.m4 (file contents):
Revision 1.10 by root, Mon Nov 29 12:38:32 2010 UTC vs.
Revision 1.11 by root, Wed Dec 1 07:30:39 2010 UTC

2 pthread_create, 2 pthread_create,
3 [pthread pthreads pthreadVC2], 3 [pthread pthreads pthreadVC2],
4 , 4 ,
5 [AC_MSG_ERROR(pthread functions not found)] 5 [AC_MSG_ERROR(pthread functions not found)]
6) 6)
7
8AC_CACHE_CHECK(for utimes, ac_cv_utimes, [AC_LINK_IFELSE([[
9#include <sys/types.h>
10#include <sys/time.h>
11#include <utime.h>
12struct timeval tv[2];
13int res;
14int main (void)
15{
16 res = utimes ("/", tv);
17 return 0;
18}
19]],ac_cv_utimes=yes,ac_cv_utimes=no)])
20test $ac_cv_utimes = yes && AC_DEFINE(HAVE_UTIMES, 1, utimes(2) is available)
7 21
8AC_CACHE_CHECK(for futimes, ac_cv_futimes, [AC_LINK_IFELSE([[ 22AC_CACHE_CHECK(for futimes, ac_cv_futimes, [AC_LINK_IFELSE([[
9#include <sys/types.h> 23#include <sys/types.h>
10#include <sys/time.h> 24#include <sys/time.h>
11#include <utime.h> 25#include <utime.h>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines