unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: taylanbayirli@gmail.com
To: 10558@debbugs.gnu.org
Subject: bug#10558: acinclude LIB_CLOCK_GETTIME patch
Date: Thu, 19 Jan 2012 23:16:46 +0100	[thread overview]
Message-ID: <4f18964e.LbD0IzpHJN3yupea%tub@taylan.dyndns.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

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

[-- Attachment #2: patch-acinclude_m4 --]
[-- Type: text/plain, Size: 807 bytes --]

$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	other threads:[~2012-01-19 22:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19 22:16 taylanbayirli [this message]
2012-02-03 15:23 ` bug#10558: acinclude LIB_CLOCK_GETTIME patch Andy Wingo
2012-02-03 15:23 ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f18964e.LbD0IzpHJN3yupea%tub@taylan.dyndns.org \
    --to=taylanbayirli@gmail.com \
    --cc=10558@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).