diff options
author | Charles Lehner <cel@celehner.com> | 2015-09-20 01:08:39 -0400 |
---|---|---|
committer | Charles Lehner <cel@celehner.com> | 2015-09-20 02:50:11 -0400 |
commit | cef451ebac42f21a85bcc65d8b122c72f94e918c (patch) | |
tree | d1fff72cbed95c62ac153a026c589af9c39502d3 /mk/modules.mk | |
parent | cd9244b5c954caafe3fb09f3a709e74b6260d32d (diff) |
Use libnotify for notifications in glib < 2.40 (#65)
Diffstat (limited to 'mk/modules.mk')
-rw-r--r-- | mk/modules.mk | 4 |
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 # ------------------------------------------------------------------------- # |