sup

A curses threads-with-tags style email client

ncursesw-ruby.git

git clone https://supmua.dev/git/ncursesw-ruby/
commit 4a3a3cdafe2e5a82dbbccec683cf4a15bb3f37b1
parent 4f30578063fbafb2a4a1f2b810e00890673eacd3
Author: Whyme Lyu <callme5long@gmail.com>
Date:   Sun,  2 Jun 2013 05:09:48 -0700

Merge pull request #9 from gauteh/fail-on-missing-libs

fail on missing libs and add some more descriptive output
Diffstat:
M extconf.rb | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/extconf.rb b/extconf.rb
@@ -123,16 +123,25 @@ have_func("attr_get")
 puts "checking for the panel library..."
 if have_header("panel.h")
   have_library("panelw", "panel_hidden")
+else
+  raise "panel library not found"
 end
+
 puts "checking for the form library..."
 if have_header("form.h")
   have_library("formw", "new_form")
+else
+  raise "form library not found."
 end
+
 puts "checking for the menu library..."
 if have_header("menu.h")
   have_library("menu", "new_menu")
+else
+  raise "menu library not found."
 end
 
+puts "checking for various ruby and standard functions.."
 if have_func("rb_thread_fd_select")
   $CFLAGS  += " -DHAVE_RB_THREAD_FD_SELECT"
 end