diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-30 07:55:47 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-30 07:55:47 +0000 |
commit | b8669fe321c6f5e81d071d5790e51b9611fde860 (patch) | |
tree | d19d4f3da2790c53b046a861714f6fc21728d7e1 /ext/dbm/extconf.rb | |
parent | b87b7e3fc1499a9f56d1a49aff22838c2166950c (diff) |
glibc 2.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dbm/extconf.rb')
-rw-r--r-- | ext/dbm/extconf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb index c499df97ad..2f6255b50f 100644 --- a/ext/dbm/extconf.rb +++ b/ext/dbm/extconf.rb @@ -1,5 +1,8 @@ require 'mkmf' $LDFLAGS = "-L/usr/local/lib" +if dir = with_config("dbm-include") + $CFLAGS = "-I#{dir}" +end have_library("gdbm", "dbm_open") or have_library("db", "dbm_open") or have_library("dbm", "dbm_open") |