From dd17e103f4cb45f1fff2458d9797d113591f79cc Mon Sep 17 00:00:00 2001 From: eban Date: Sun, 2 Dec 2001 14:10:27 +0000 Subject: * 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 --- ext/dbm/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dbm/extconf.rb') diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb index 0e29eef0ce..51b1bfd81b 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 -- cgit v1.2.3