extconf.rb: error out if curses.h is not found

This commit is contained in:
josh committed 2018-02-12 20:43:07 -05:00
1 parent 7a820a99ea
commit 05ada6c504
1 file changed
+2
+2
View File
@@ -1,3 +1,5 @@
require "mkmf"
abort("Error: missing curses.h") unless have_header("curses.h")
create_makefile "svi/svi"