From 2d6140266e2f39899d0e2455c2878e62efbac380 Mon Sep 17 00:00:00 2001 From: gombasg Date: Wed, 26 Jul 2006 12:11:14 +0000 Subject: [PATCH] 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 --- dcapi/configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dcapi/configure.ac b/dcapi/configure.ac index c118f3be11..8c3d14391a 100644 --- a/dcapi/configure.ac +++ b/dcapi/configure.ac @@ -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