summaryrefslogtreecommitdiffstats
path: root/ext/dbm
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
commit9284dbf5257b70efa4da2f3a024519c6deb3a344 (patch)
tree1bbc13c8b70e2d40c41b81ebb8dc8445b84e7b5f /ext/dbm
parent7a1b9ef1fd0bfbb1059eb14d0152172dffe4a868 (diff)
downloadruby-9284dbf5257b70efa4da2f3a024519c6deb3a344.tar.gz
ruby-9284dbf5257b70efa4da2f3a024519c6deb3a344.tar.xz
ruby-9284dbf5257b70efa4da2f3a024519c6deb3a344.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@1873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dbm')
-rw-r--r--ext/dbm/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb
index 0e29eef0c..51b1bfd81 100644
--- a/ext/dbm/extconf.rb
+++ b/ext/dbm/extconf.rb
@@ -50,7 +50,7 @@ end
have_header("cdefs.h")
have_header("sys/cdefs.h")
-if have_func(db_prefix("dbm_open"))
+if /DBM_HDR/ =~ $CFLAGS and have_func(db_prefix("dbm_open"))
have_func(db_prefix("dbm_clearerr")) unless $dbm_conf_have_gdbm
create_makefile("dbm")
end