Sha256: 0080f9c79f90fdb348f31bf36759ceaa62657f24eba4b7e639702442133d0a95

Contents?: true

Size: 564 Bytes

Versions: 16

Compression:

Stored size: 564 Bytes

Contents

require 'mkmf'
require 'rbconfig'

# $CFLAGS += " -Wall"
# make available table and column meta data api
$CFLAGS += " -DSQLITE_ENABLE_COLUMN_METADATA=1"  
$CFLAGS += " -DSQLITE_ENABLE_RTREE=1"
$CFLAGS += " -DSQLITE_OMIT_BUILTIN_TEST=1"

# we compile sqlite the same way that the installation of ruby is compiled.
if Config::CONFIG['configure_args'].include?( "--enable-pthread" ) then
  $CFLAGS += " -DSQLITE_THREADSAFE=1"
else
  $CFLAGS += " -DSQLITE_THREADSAFE=0"
end

# remove the -g if it exists
$CFLAGS = $CFLAGS.gsub(/-g/,'')

create_makefile('amalgalite3')

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
amalgalite-0.7.0 ext/extconf.rb
amalgalite-0.7.0-x86-mswin32-60 ext/extconf.rb
amalgalite-0.7.3 ext/extconf.rb
amalgalite-0.7.1-x86-mswin32-60 ext/extconf.rb
amalgalite-0.7.1 ext/extconf.rb
amalgalite-0.7.3-x86-mswin32-60 ext/extconf.rb
amalgalite-0.7.5-x86-mswin32-60 ext/extconf.rb
amalgalite-0.7.4 ext/extconf.rb
amalgalite-0.7.4-x86-mswin32-60 ext/extconf.rb
amalgalite-0.7.5 ext/extconf.rb
amalgalite-0.7.7 ext/extconf.rb
amalgalite-0.7.6-x86-mswin32-60 ext/extconf.rb
amalgalite-0.7.6 ext/extconf.rb
amalgalite-0.7.7-x86-mswin32-60 ext/extconf.rb
amalgalite-0.8.0 ext/extconf.rb
amalgalite-0.8.0-x86-mswin32-60 ext/extconf.rb