Subject: bug#10558: closed (Re: bug#10558: acinclude LIB_CLOCK_GETTIME patch)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 03 Feb 2012 19:29:08 +0000

Your bug report

#10558: acinclude LIB_CLOCK_GETTIME patch

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
10558: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10558
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#10558: acinclude LIB_CLOCK_GETTIME patch
From: Andy Wingo <[email-masked]>
To: [email-masked]
Date: Fri, 03 Feb 2012 16:23:33 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Closing bug.

-- 
http://wingolog.org/

Subject: acinclude LIB_CLOCK_GETTIME patch
From: [email-masked]
To: [email-masked]
Date: Thu, 19 Jan 2012 23:16:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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])