blob: 3b814e903c683c3ba17015eb93df799a5117dfcb [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
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000017@@ -1044,6 +1044,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])