--- libeio/libeio.m4 2012/11/13 19:49:32 1.21 +++ libeio/libeio.m4 2012/11/13 20:14:57 1.22 @@ -9,7 +9,7 @@ [AC_MSG_ERROR(pthread functions not found)] ) -AC_CACHE_CHECK(for utimes, ac_cv_utimes, [AC_LINK_IFELSE([AC_LANG_SOURCE([ +AC_CACHE_CHECK(for utimes, ac_cv_utimes, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ #include #include #include @@ -20,10 +20,10 @@ res = utimes ("/", tv); return 0; } -])],ac_cv_utimes=yes,ac_cv_utimes=no)]) +]])],ac_cv_utimes=yes,ac_cv_utimes=no)]) test $ac_cv_utimes = yes && AC_DEFINE(HAVE_UTIMES, 1, utimes(2) is available) -AC_CACHE_CHECK(for futimes, ac_cv_futimes, [AC_LINK_IFELSE([AC_LANG_SOURCE([ +AC_CACHE_CHECK(for futimes, ac_cv_futimes, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ #include #include #include @@ -35,7 +35,7 @@ res = futimes (fd, tv); return 0; } -])],ac_cv_futimes=yes,ac_cv_futimes=no)]) +]])],ac_cv_futimes=yes,ac_cv_futimes=no)]) test $ac_cv_futimes = yes && AC_DEFINE(HAVE_FUTIMES, 1, futimes(2) is available) AC_CACHE_CHECK(for readahead, ac_cv_readahead, [AC_LINK_IFELSE([AC_LANG_SOURCE([