Commit 385da4f3 authored by Rom Walton's avatar Rom Walton

Sqlite3 support for build system

svn path=/trunk/boinc/; revision=18147
parent de0bf5ad
......@@ -799,13 +799,13 @@ AC_ARG_ENABLE(wx-debug,
],
[enable_wx_debug="no"])
CLIENTGUILIBS="${WX_LIBS} ${GTK_LIBS}"
CLIENTGUILIBS="${WX_LIBS} ${SQLITE3_LIBS} ${GTK_LIBS}"
if test "${enable_client_release}" = "yes" ; then
if test "x${WX_LIBS_STATIC}" = "x" ; then
WX_LIBS_STATIC="${WX_LIBS}"
fi
SAH_STATICIZE_LDFLAGS([${WX_LIBS_STATIC} ${GTK_LIBS}],[CLIENTGUILIBS])
SAH_STATICIZE_LDFLAGS([${WX_LIBS_STATIC} ${SQLITE3_LIBS} ${GTK_LIBS}],[CLIENTGUILIBS])
SAH_STATICIZE_LDFLAGS([${GLUT_LIBS}],[GLUT_LIBS])
SAH_STATICIZE_LDFLAGS([${BOINC_EXTRA_LIBS}],[BOINC_EXTRA_LIBS])
......
......@@ -43,7 +43,7 @@ if test "x$have_sqlite3" != "xyes"; then
fi
fi
if test "x$have_sqlite3" = "xyes"; then
AC_CHECK_FUNCS([sqlite3_open_v2])
AC_CHECK_FUNCS([sqlite3_open])
AC_DEFINE([HAVE_SQLITE3], [1], [Define to 1 if you have sqlite3.])
AC_SUBST(SQLITE3_LIBS)
AC_SUBST(SQLITE3_CPPFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment