2008-12-15 21:45:15 +01:00
|
|
|
require 'mkmf'
|
|
|
|
|
2009-12-23 03:48:32 +01:00
|
|
|
dir_config( "sqlite3" )
|
2008-12-15 21:45:15 +01:00
|
|
|
|
|
|
|
have_library( "rt", "fdatasync" )
|
|
|
|
|
2009-12-23 03:48:32 +01:00
|
|
|
if have_header( "sqlite3.h" ) && have_library( "sqlite3", "sqlite3_open" ) then
|
|
|
|
$CFLAGS << " -fno-strict-aliasing" unless RUBY_PLATFORM =~ /mswin/
|
2008-12-15 21:45:15 +01:00
|
|
|
create_makefile( "sqlite3_api" )
|
|
|
|
end
|