aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--src/Makefile.am2
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 689cf7f79..a80f06c84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,9 +109,10 @@ PKG_CHECK_MODULES(EMPATHY,
libglade-2.0 >= $LIBGLADE_REQUIRED
libebook-1.2
libcanberra-gtk >= 0.4
- libnotify >= $LIBNOTIFY_REQUIRED
])
+PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= $LIBNOTIFY_REQUIRED)
+
# -----------------------------------------------------------
# Enable debug
# -----------------------------------------------------------
diff --git a/src/Makefile.am b/src/Makefile.am
index e2c9e2426..5294eac09 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,12 +1,14 @@
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(EMPATHY_CFLAGS) \
+ $(LIBNOTIFY_CFLAGS) \
$(WARN_CFLAGS)
LDADD = \
$(top_builddir)/libempathy-gtk/libempathy-gtk.la \
$(top_builddir)/libempathy/libempathy.la \
$(top_builddir)/extensions/libemp-extensions.la \
+ $(LIBNOTIFY_LIBS) \
$(EMPATHY_LIBS)
bin_PROGRAMS = \