From 9f39984c8f2b5b4ff4d64824f92247c69d58f0a6 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Sat, 13 Jan 2007 18:42:29 +0000 Subject: Fix for use of callbacks (busy_handler, set_authorize and trace) (thanks Sylvain Joyeux, closes #2955) --- ext/sqlite3_api/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/sqlite3_api/extconf.rb') diff --git a/ext/sqlite3_api/extconf.rb b/ext/sqlite3_api/extconf.rb index 3cf033c..67006f6 100644 --- a/ext/sqlite3_api/extconf.rb +++ b/ext/sqlite3_api/extconf.rb @@ -4,7 +4,7 @@ SWIG_WRAP = "sqlite3_api_wrap.c" dir_config( "sqlite3", "/usr/local" ) -if have_header( "sqlite3.h" ) and have_library( "sqlite3", "sqlite3_open" ) +if have_header( "sqlite3.h" ) && have_library( "sqlite3", "sqlite3_open" ) if !File.exists?( SWIG_WRAP ) || with_config( "swig", false ) puts "creating #{SWIG_WRAP}" system "swig -ruby sqlite3_api.i" or raise "could not build wrapper via swig (perhaps swig is not installed?)" -- cgit