From 76e3d09219f1dd4f7dcb1e99dcaec562ff7cdcaf Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 23 Feb 2012 08:39:11 -0600 Subject: Move the variables into the list straight up as they'll be NULL if undefined --- src/Makefile.am | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4da3fc5..a1e443e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -136,17 +136,12 @@ indicator_session_service_CFLAGS = \ $(GCONF_CFLAGS) \ -DLIBEXECDIR=\"$(libexecdir)\" \ -Wall -Werror \ - -DG_LOG_DOMAIN=\"Indicator-Session\" + -DG_LOG_DOMAIN=\"Indicator-Session\" \ + $(GUDEV_CFLAGS) indicator_session_service_LDADD = \ $(SESSIONSERVICE_LIBS) \ - $(GCONF_LIBS) - -if HAS_GUDEV -indicator_session_service_CFLAGS += \ - $(GUDEV_CFLAGS) -indicator_session_service_LDADD += \ + $(GCONF_LIBS) \ $(GUDEV_LIBS) -endif ################# # GTK Logout Stuff -- cgit v1.2.3