[evolution-rss] conditional compile for dbus.c
- From: Lucian Langa <lucilanga src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution-rss] conditional compile for dbus.c
- Date: Fri, 29 May 2009 10:58:44 -0400 (EDT)
commit 3939979c37d4a40052b9f74b7238d9530f5f54c6
Author: Lucian Langa <lucilanga gnome org>
Date: Fri May 29 17:58:33 2009 +0300
conditional compile for dbus.c
---
src/Makefile.am | 6 ++++--
src/network.h | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 0661c0b..bc4fee4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -70,8 +70,7 @@ plugin_DATA = org-gnome-evolution-rss.eplug \
plugin_LTLIBRARIES = liborg-gnome-evolution-rss.la
-SOURCES = dbus.c \
- fetch.c \
+SOURCES = fetch.c \
file-gio.c \
misc.c \
network-soup.c \
@@ -82,6 +81,9 @@ SOURCES = dbus.c \
if HAVE_GECKO
SOURCES+= gecko-utils.cpp
endif
+if HAVE_DBUS
+SOURCES+= dbus.c
+endif
liborg_gnome_evolution_rss_la_SOURCES = $(SOURCES)
liborg_gnome_evolution_rss_la_LDFLAGS = -module -avoid-version $(WEBKIT_LIBS) $(GECKO_LIBS) $(LIBSOUP_LIBS) $(NO_UNDEFINED_LIBS) $(NO_UNDEFINED)
diff --git a/src/network.h b/src/network.h
index 5a660be..8fe876c 100644
--- a/src/network.h
+++ b/src/network.h
@@ -21,6 +21,8 @@
#ifndef __NETWORK_H__
#define __NETWORK_H__
+#include <glib.h>
+
#define GCONF_KEY_USE_PROXY "/apps/evolution/evolution-rss/use_proxy"
#define GCONF_KEY_HOST_PROXY "/apps/evolution/evolution-rss/host_proxy"
#define GCONF_KEY_PORT_PROXY "/apps/evolution/evolution-rss/port_proxy"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]