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 |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 17 | @@ -1044,6 +1044,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]) |