[Webkit-unassigned] [Bug 29518] [Gtk] Use the SQLite3 headers from WebKitLibraries if sqlite3 is undetected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 22:32:24 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29518





--- Comment #2 from Xan Lopez <xan.lopez at gmail.com>  2009-09-21 22:32:24 PDT ---
(From update of attachment 39816)
>+   PKG_CHECK_MODULES([SQLITE3],
>+                     [sqlite3 >= $SQLITE_REQUIRED_VERSION],
>+                     [sqlite3_has_pkg_config=yes],
>+                     [sqlite3_has_pkg_config=no])
>+   if test "$sqlite3_has_pkg_config" = "no"; then
>+      AC_SEARCH_LIBS([sqlite3_open16], [sqlite3],
>+                     [SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"],
>+                     [AC_MSG_ERROR([SQLite3 is required to enable Database support])])
>+   fi

Silly question, shouldn't you first try to use the headers that might come with
the library you just found with AC_SEARCH_LIBS?
Or are you assuming that if there's no sqlite pkg-config file the only library
you'll find is the one in WebKitLibraries?

>    AC_SUBST([SQLITE3_CFLAGS])
>    AC_SUBST([SQLITE3_LIBS])
> fi

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list