From 1e7878489dc5d3013b5e5858fe404ab6b4a6947a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 16 Feb 2010 23:02:59 +0100 Subject: exconf.rb checks for libzmq.so installation --- AUTHORS | 1 + bindings/ruby/extconf.rb | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 24e980b..b4447e0 100644 --- a/AUTHORS +++ b/AUTHORS @@ -18,6 +18,7 @@ Martin Hurton Martin Lucina Martin Sustrik Matus Hamorsky +McClain Looney Pavel Gushcha Pavol Malosek Steven McCoy diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb index d5778d0..30c70fb 100644 --- a/bindings/ruby/extconf.rb +++ b/bindings/ruby/extconf.rb @@ -18,7 +18,11 @@ require 'mkmf' dir_config('libzmq') -have_library('libzmq') -create_makefile("ruby") +if have_library('libzmq', 'zmq_init') + puts "Cool, I found your zmq install..." + create_makefile("zmq") +else + raise "Couldn't find zmq library. try setting --with-zmq-dir= to tell me where it is." +end -- cgit v1.2.3