Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 1 | From d53e9617fb6446780478bb13907efd111f241cd1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 3 Nov 2016 01:20:33 -0700 |
| 4 | Subject: [PATCH] Check for gtk2+ only when manager is enabled |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | Upstream-Status: Pending |
| 8 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 9 | --- |
| 10 | configure.ac | 6 +++++- |
| 11 | 1 file changed, 5 insertions(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/configure.ac b/configure.ac |
| 14 | index 7beeb34ae2..35234c2762 100644 |
| 15 | --- a/configure.ac |
| 16 | +++ b/configure.ac |
| 17 | @@ -1018,6 +1018,11 @@ else |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 18 | 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 Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 29 | @@ -1069,7 +1074,6 @@ AM_CONDITIONAL(ENABLE_BOINCCRYPT, [test "x${enable_server}" = xyes || test "x${ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 30 | 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) |