From: Scott MacVicar Date: Sun, 29 Mar 2009 21:33:58 +0000 (+0000) Subject: Fix bug #47826 - Building with system sqlite3 can miss a symbol. X-Git-Tag: php-5.4.0alpha1~191^2~4025 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=743efae83abccf48aad6b8d1033d97bd7a5baf5e;p=php Fix bug #47826 - Building with system sqlite3 can miss a symbol. --- diff --git a/ext/sqlite3/config0.m4 b/ext/sqlite3/config0.m4 index 8b3623d6b0..c7abb74f77 100644 --- a/ext/sqlite3/config0.m4 +++ b/ext/sqlite3/config0.m4 @@ -51,8 +51,9 @@ if test $PHP_SQLITE3 != "no"; then AC_DEFINE(HAVE_SQLITE3_KEY, 1, [have commercial sqlite3 with crypto support]) ]) - PHP_CHECK_LIBRARY(sqlite3,sqlite3_load_extension,[ - AC_DEFINE(SQLITE_OMIT_LOAD_EXTENSION, 1, [have sqlite3 with extension support]) + PHP_CHECK_LIBRARY(sqlite3,sqlite3_load_extension, + [], + [AC_DEFINE(SQLITE_OMIT_LOAD_EXTENSION, 1, [have sqlite3 with extension support]) ]) else