aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am6
2 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 0f03dc02c..b76609379 100644
--- a/configure.ac
+++ b/configure.ac
@@ -252,6 +252,8 @@ if test "x$enable_map" = "xyes" -a "x$have_geoclue" != "xyes"; then
fi
AM_CONDITIONAL(HAVE_GEOCLUE, test "x$have_geoclue" = "xyes")
+AC_SUBST(GEOCLUE_CFLAGS)
+AC_SUBST(GEOCLUE_LIBS)
# -----------------------------------------------------------
# Megaphone
diff --git a/src/Makefile.am b/src/Makefile.am
index a70e7e2de..ef6311f29 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,9 +4,10 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
$(EMPATHY_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
+ $(GEOCLUE_CFLAGS) \
$(LIBCHAMPLAIN_CFLAGS) \
- $(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
+ $(WARN_CFLAGS)
LDADD = \
$(top_builddir)/libempathy-gtk/libempathy-gtk.la \
@@ -14,7 +15,8 @@ LDADD = \
$(top_builddir)/extensions/libemp-extensions.la \
$(LIBNOTIFY_LIBS) \
$(EMPATHY_LIBS) \
- $(LIBCHAMPLAIN_LIBS)
+ $(LIBCHAMPLAIN_LIBS) \
+ $(GEOCLUE_LIBS)
bin_PROGRAMS = \
empathy \