Sqlite3 support for build system

svn path=/trunk/boinc/; revision=18147
This commit is contained in:
Rom Walton 2009-05-18 17:09:02 +00:00
parent de0bf5ad83
commit 385da4f3e7
2 changed files with 3 additions and 3 deletions

View File

@ -799,13 +799,13 @@ AC_ARG_ENABLE(wx-debug,
], ],
[enable_wx_debug="no"]) [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 "${enable_client_release}" = "yes" ; then
if test "x${WX_LIBS_STATIC}" = "x" ; then if test "x${WX_LIBS_STATIC}" = "x" ; then
WX_LIBS_STATIC="${WX_LIBS}" WX_LIBS_STATIC="${WX_LIBS}"
fi 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([${GLUT_LIBS}],[GLUT_LIBS])
SAH_STATICIZE_LDFLAGS([${BOINC_EXTRA_LIBS}],[BOINC_EXTRA_LIBS]) SAH_STATICIZE_LDFLAGS([${BOINC_EXTRA_LIBS}],[BOINC_EXTRA_LIBS])

View File

@ -43,7 +43,7 @@ if test "x$have_sqlite3" != "xyes"; then
fi fi
fi fi
if test "x$have_sqlite3" = "xyes"; then 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_DEFINE([HAVE_SQLITE3], [1], [Define to 1 if you have sqlite3.])
AC_SUBST(SQLITE3_LIBS) AC_SUBST(SQLITE3_LIBS)
AC_SUBST(SQLITE3_CPPFLAGS) AC_SUBST(SQLITE3_CPPFLAGS)