~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to ext/dbm/extconf.rb

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2006-07-13 22:43:47 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060713224347-zgeu5zwr4z6let68
Tags: 1.9.0+20060609-1
* new upstream snapshot. (2006-06-09)
* configure with -fno-strict-aliasing (Bug#370553)
* rdoc1.9 suggests graphviz (Bug#339524)
* debian/copyright: added a note for using libopenssl-ruby1.9.  (Bug#367024)
* debian/README.Debian: updated.  (Closes: #344294)
* added debian/patches/802_mkconfig.dpatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  if have_library(db, db_prefix("dbm_open")) || have_func(db_prefix("dbm_open"))
34
34
    for hdr in $dbm_conf_headers.fetch(db, ["ndbm.h"])
35
35
      if have_header(hdr.dup) and have_type("DBM", hdr.dup, hsearch)
36
 
        $CFLAGS += " " + hsearch + '-DDBM_HDR="<'+hdr+'>"'
 
36
        $defs << hsearch << '-DDBM_HDR="<'+hdr+'>"'
37
37
        return true
38
38
      end
39
39
    end