applet: print strerror and exit if execlp() fails
[espeaktime] / src / Makefile.am
index e6024e6..77006b7 100644 (file)
@@ -7,11 +7,11 @@ espeaktimed_LDADD = $(GLIB_LIBS) $(DBUS_LIBS) $(MCE_LIBS) $(HAL_LIBS)
 libcpdir = $(libdir)/hildon-control-panel
 libcp_LTLIBRARIES = libespeaktime-cp.la
 libespeaktime_cp_la_SOURCES = applet.c
-libespeaktime_cp_la_CFLAGS = $(HILDON_CFLAGS) $(OSSO_CFLAGS)
+libespeaktime_cp_la_CFLAGS = $(HILDON_CFLAGS) $(GCONF_CLAGS) $(OSSO_CFLAGS)
 libespeaktime_cp_la_LDFLAGS = -module -avoid-version
-libespeaktime_cp_la_LIBADD = $(HILDON_LIBS)
+libespeaktime_cp_la_LIBADD = $(HILDON_LIBS) $(GCONF_LIBS)
 
 EXTRA_PROGRAMS = applet
 applet_SOURCES = applet.c
-applet_CFLAGS = -DTEST $(HILDON_CFLAGS) $(OSSO_CFLAGS)
-applet_LDADD = $(HILDON_LIBS)
+applet_CFLAGS = -DTEST $(HILDON_CFLAGS) $(GCONF_CFLAGS) $(OSSO_CFLAGS)
+applet_LDADD = $(HILDON_LIBS) $(GCONF_LIBS)