blob: 3b814e903c683c3ba17015eb93df799a5117dfcb [file] [log] [blame]
From d53e9617fb6446780478bb13907efd111f241cd1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 3 Nov 2016 01:20:33 -0700
Subject: [PATCH] Check for gtk2+ only when manager is enabled
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
---
configure.ac | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 7beeb34ae2..35234c2762 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1044,6 +1044,11 @@ else
AM_CONDITIONAL([GUI_GTK], false)
fi
+dnl ---------- GTK+2.0-----------------------------------------------------
+if test "X${no_x}" != "Xyes"; then
+ PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
+fi
+
dnl ---------- libNotify --------------------------------------------------
if test "${enable_manager}" = yes ; then
PKG_CHECK_MODULES(LIBNOTIFY, [libnotify])