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.
This commit is contained in:
Jon Lund Steffensen
2014-04-20 19:36:03 +02:00
parent e5b3daf298
commit 254b1e2a57
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -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