From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.posix-mq.general Subject: [PATCH 4/5] extconf: fix __mq_oshandle() detection on FreeBSD Date: Thu, 12 Jul 2012 12:45:40 -0700 Message-ID: <1342122341-24646-5-git-send-email-normalperson@yhbt.net> References: <1342122341-24646-1-git-send-email-normalperson@yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342122372 30216 80.91.229.3 (12 Jul 2012 19:46:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2012 19:46:12 +0000 (UTC) To: ruby.posix.mq@librelist.org Original-X-From: ruby.posix.mq@librelist.org Thu Jul 12 21:46:11 2012 Return-path: Envelope-to: gclrpg-ruby.posix.mq@m.gmane.org List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: ruby.posix.mq@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.posix-mq.general:111 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SpPKx-0003bL-RJ for gclrpg-ruby.posix.mq@m.gmane.org; Thu, 12 Jul 2012 21:46:08 +0200 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 12F0921E17F for ; Thu, 12 Jul 2012 19:55:01 +0000 (UTC) From: "ew@fbsd90-32.(none)" We need to have -lrt in LDFLAGS before we can detect it. --- ext/posix_mq/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/posix_mq/extconf.rb b/ext/posix_mq/extconf.rb index 310de3d..db50ee3 100644 --- a/ext/posix_mq/extconf.rb +++ b/ext/posix_mq/extconf.rb @@ -3,7 +3,6 @@ have_header("sys/select.h") have_header("signal.h") have_header("mqueue.h") or abort "mqueue.h header missing" -have_func("__mq_oshandle") have_header("pthread.h") have_func("rb_str_set_len") have_func('rb_thread_blocking_region') @@ -11,6 +10,7 @@ have_library("rt") have_library("pthread") +have_func("__mq_oshandle") have_func("mq_timedsend") have_func("mq_timedreceive") create_makefile("posix_mq_ext") -- 1.7.11.rc0.55.gb2478aa