]> granicus.if.org Git - php/commitdiff
Fix bug #47826 - Building with system sqlite3 can miss a symbol.
authorScott MacVicar <scottmac@php.net>
Sun, 29 Mar 2009 21:33:58 +0000 (21:33 +0000)
committerScott MacVicar <scottmac@php.net>
Sun, 29 Mar 2009 21:33:58 +0000 (21:33 +0000)
ext/sqlite3/config0.m4

index 8b3623d6b0c6b7c310ebb2476250fa918704fa7f..c7abb74f77a0936a4fde66f40625d5180da99dd6 100644 (file)
@@ -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