blob: 4ae8d580d765f92adca861d6771221d83869a5f0 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001Check for gtk2+ only when manager is enabled
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending
5
6Index: boinc-client_release-7.6-7.6.33/configure.ac
7===================================================================
8--- boinc-client_release-7.6-7.6.33.orig/configure.ac
9+++ boinc-client_release-7.6-7.6.33/configure.ac
10@@ -1033,6 +1033,11 @@ else
11 AM_CONDITIONAL([GUI_GTK], false)
12 fi
13
14+dnl ---------- GTK+2.0-----------------------------------------------------
15+if test "X${no_x}" != "Xyes"; then
16+ PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
17+fi
18+
19 dnl ---------- libNotify --------------------------------------------------
20 if test "${enable_manager}" = yes ; then
21 PKG_CHECK_MODULES(LIBNOTIFY, [libnotify])
22@@ -1082,7 +1087,6 @@ AM_CONDITIONAL(ENABLE_BOINCCRYPT, [test
23 AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes])
24 AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so])
25
26-PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
27
28 dnl ======================================================================
29 dnl some more vodoo required for building portable client-binary (client, clientgui)