]> git.llucax.com Git - software/libev.git/blobdiff - libev.m4
fix some aliasing issues again
[software/libev.git] / libev.m4
index 39c28f46ebc6f28d608cfffc55c8dd4735bee6fb..322b659bead949672d3fe6abb8f7432b86cdfe73 100644 (file)
--- a/libev.m4
+++ b/libev.m4
@@ -9,6 +9,7 @@ AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select)
 AC_CHECK_FUNC(clock_gettime, [], [ 
    if test -z "$LIBEV_M4_AVOID_LIBRT"; then
       AC_CHECK_LIB(rt, clock_gettime) 
 AC_CHECK_FUNC(clock_gettime, [], [ 
    if test -z "$LIBEV_M4_AVOID_LIBRT"; then
       AC_CHECK_LIB(rt, clock_gettime) 
+      unset ac_cv_func_clock_gettime
       AC_CHECK_FUNCS(clock_gettime)
    fi
 ])
       AC_CHECK_FUNCS(clock_gettime)
    fi
 ])