Good day, I found another test against "none required" to be necessary in the 
configure script so as to prevent it from setting LIB_CLOCK_GETTIME literally 
to that value.
A patch for acinclude.m4 is attached.

Regards, Taylan
$OpenBSD$
--- acinclude.m4.orig   Sat Oct  8 01:49:48 2011
+++ acinclude.m4        Thu Jan 19 23:01:35 2012
@@ -564,7 +564,8 @@ AC_DEFUN([gl_CLOCK_TIME],
                       AC_SEARCH_LIBS([clock_getcpuclockid], [rt posix4],
                                      [test "$ac_cv_search_clock_getcpuclockid" 
= "none required" \
                                       || 
LIB_CLOCK_GETTIME=$ac_cv_search_clock_getcpuclockid],
-                                     
[LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
+                                     [test "$ac_cv_search_clock_gettime" = 
"none required" \
+                                      || 
LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
                     else
                       LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime
                     fi])

Reply via email to