mirror of https://github.com/BOINC/boinc.git
Sqlite3 support for build system
svn path=/trunk/boinc/; revision=18147
This commit is contained in:
parent
de0bf5ad83
commit
385da4f3e7
|
@ -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])
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue