blob: e060b1a40c2567e8e0b258451bcc36d5a420910b [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001From d53e9617fb6446780478bb13907efd111f241cd1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 3 Nov 2016 01:20:33 -0700
4Subject: [PATCH] Check for gtk2+ only when manager is enabled
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Upstream-Status: Pending
8
Brad Bishope42b3e32020-01-15 22:08:42 -05009---
10 configure.ac | 6 +++++-
11 1 file changed, 5 insertions(+), 1 deletion(-)
12
13diff --git a/configure.ac b/configure.ac
14index 7beeb34ae2..35234c2762 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -1018,6 +1018,11 @@ else
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018 AM_CONDITIONAL([GUI_GTK], false)
19 fi
20
21+dnl ---------- GTK+2.0-----------------------------------------------------
22+if test "X${no_x}" != "Xyes"; then
23+ PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
24+fi
25+
26 dnl ---------- libNotify --------------------------------------------------
27 if test "${enable_manager}" = yes ; then
28 PKG_CHECK_MODULES(LIBNOTIFY, [libnotify])
Brad Bishope42b3e32020-01-15 22:08:42 -050029@@ -1069,7 +1074,6 @@ AM_CONDITIONAL(ENABLE_BOINCCRYPT, [test "x${enable_server}" = xyes || test "x${
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030 AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes])
31 AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so])
32
33-PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
34
35 dnl ======================================================================
36 dnl some more vodoo required for building portable client-binary (client, clientgui)