summaryrefslogtreecommitdiff
path: root/mk/modules.mk
diff options
context:
space:
mode:
authorCharles Lehner <cel@celehner.com>2015-09-20 01:08:39 -0400
committerCharles Lehner <cel@celehner.com>2015-09-20 02:50:11 -0400
commitcef451ebac42f21a85bcc65d8b122c72f94e918c (patch)
treed1fff72cbed95c62ac153a026c589af9c39502d3 /mk/modules.mk
parentcd9244b5c954caafe3fb09f3a709e74b6260d32d (diff)
Use libnotify for notifications in glib < 2.40 (#65)
Diffstat (limited to 'mk/modules.mk')
-rw-r--r--mk/modules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 085a8c5..ac16662 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -225,6 +225,10 @@ ifeq ($(OS),freebsd)
MODULES += dtmfio
endif
+ifneq ($(USE_GTK),)
+USE_LIBNOTIFY := $(shell pkg-config 'libnotify glib-2.0 < 2.40' && echo "yes")
+endif
+
endif
# ------------------------------------------------------------------------- #