summaryrefslogtreecommitdiff
path: root/ext/curses
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-02 14:10:27 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-02 14:10:27 +0000
commitdd17e103f4cb45f1fff2458d9797d113591f79cc (patch)
tree1bbc13c8b70e2d40c41b81ebb8dc8445b84e7b5f /ext/curses
parentbec6d909e76d95bd9b02bf19caf6720f06a6aa5a (diff)
* configure.in: use GCC, not without_gcc. remove without_gcc.
* ext/curses/extconf.rb: check for curses.h. * ext/dbm/extconf.rb: check if $CFLAGS includes DBM_HDR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses')
-rw-r--r--ext/curses/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb
index 0e824e3..8e35876 100644
--- a/ext/curses/extconf.rb
+++ b/ext/curses/extconf.rb
@@ -14,7 +14,7 @@ elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr"
make=true
else
have_library("termcap", "tgetent")
- if have_library("curses", "initscr")
+ if have_header("curses") and have_library("curses", "initscr")
make=true
end
end