From 07c8ee9e76facbbd6e639fe45d36442217b65042 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Sun, 13 Apr 2014 22:10:34 +0200 Subject: Fix #67: Geoclue should pull in Glib as dependency Add checks in configure.ac for Glib and pull in through Makefile.am when Geoclue support is enabled. --- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index e83073b..37a0308 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -59,7 +59,10 @@ endif if ENABLE_GEOCLUE redshift_SOURCES += location-geoclue.c location-geoclue.h -AM_CFLAGS += $(GEOCLUE_CFLAGS) $(GEOCLUE_LIBS) +AM_CFLAGS += \ + $(GEOCLUE_CFLAGS) $(GEOCLUE_LIBS) \ + $(GLIB_CFLAGS) $(GLIB_LIBS) redshift_LDADD += \ $(GEOCLUE_LIBS) $(GEOCLUE_CFLAGS) + $(GLIB_LIBS) $(GLIB_CFLAGS) endif -- cgit v1.2.3-70-g09d2