Fix building just the client side

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@825 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
gombasg 2006-07-26 12:11:14 +00:00 committed by Adam Visegradi
parent 580d608695
commit 2d6140266e
1 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,10 @@ AC_ARG_ENABLE([master],
AM_CONDITIONAL([BUILD_CLIENT], [test "$enable_client" = yes])
AM_CONDITIONAL([BUILD_MASTER], [test "$enable_master" = yes])
AM_PATH_GLIB_2_0([2.6.0],,[AC_MSG_ERROR([glib2 is missing])])
dnl glib is used only on the master side
if test "$enable_master" = yes; then
AM_PATH_GLIB_2_0([2.6.0],,[AC_MSG_ERROR([glib2 is missing])])
fi
GTK_DOC_CHECK([1.3])
@ -43,6 +46,7 @@ AC_ARG_ENABLE([backend-boinc],
[enable_backend_boinc=auto])
if test "$enable_backend_boinc" != no; then
SZDG_BOINC_COMMON
if test "$enable_master" = yes; then
SZDG_BOINC_SERVER
fi