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

index f1425c3aa919d4436eecfa0a963e0847382aa6f3..6b96cb61efaea5077f0a8f920cbf94a1ab6a2566 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