[Xfce4-commits] <xfce4-notifyd:master> Only build tests if we have libnotify.
Jérôme Guelfucci
noreply at xfce.org
Sat Aug 20 17:18:04 CEST 2011
Updating branch refs/heads/master
to 5014038d79447024636e0c910ac106550ded8684 (commit)
from 37c016d5202ef90fa6e2cc68f50f163ef6e68862 (commit)
commit 5014038d79447024636e0c910ac106550ded8684
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sat Aug 20 17:15:52 2011 +0200
Only build tests if we have libnotify.
Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 3bd720b..8cfb764 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -234,6 +234,7 @@ release: gpg-sign
-rm $(PACKAGE)-$(VERSION).tar.gz
#Tests
+if HAVE_LIBNOTIFY
noinst_PROGRAMS = \
tests/test-text
@@ -247,3 +248,4 @@ tests_ldadd = \
tests_test_text_SOURCES = tests/test-text.c
tests_test_text_CFLAGS = $(tests_cflags)
tests_test_text_LDADD = $(tests_ldadd)
+endif
More information about the Xfce4-commits
mailing list