summaryrefslogtreecommitdiff
path: root/ext/sqlite3
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2009-03-29 21:33:58 +0000
committerScott MacVicar <scottmac@php.net>2009-03-29 21:33:58 +0000
commit743efae83abccf48aad6b8d1033d97bd7a5baf5e (patch)
treeb31742536df0747033386fe54e571270cc15f75d /ext/sqlite3
parent64c6587bd971eb06194edaa8c5b480ea5faaa938 (diff)
downloadphp-git-743efae83abccf48aad6b8d1033d97bd7a5baf5e.tar.gz
Fix bug #47826 - Building with system sqlite3 can miss a symbol.
Diffstat (limited to 'ext/sqlite3')
-rw-r--r--ext/sqlite3/config0.m45
1 files changed, 3 insertions, 2 deletions
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