aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/Makefile.am2
-rw-r--r--mail/main.c10
2 files changed, 7 insertions, 5 deletions
diff --git a/mail/Makefile.am b/mail/Makefile.am
index 7c4bbb08a3..5386741906 100644
--- a/mail/Makefile.am
+++ b/mail/Makefile.am
@@ -15,6 +15,7 @@ INCLUDES = \
$(GNOME_VFS_CFLAGS) \
$(UNICODE_CFLAGS) \
$(GCONF_CFLAGS) \
+ $(GTKHTML_CFLAGS) \
-DEVOLUTION_VERSION=\""$(VERSION)"\" \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DEVOLUTION_ICONSDIR=\""$(iconsdir)"\" \
@@ -60,7 +61,6 @@ evolution_mail_SOURCES = \
session.c \
mail.h
-
evolution_mail_LDADD = \
$(top_builddir)/shell/libeshell.a \
$(top_builddir)/composer/libcomposer.la \
diff --git a/mail/main.c b/mail/main.c
index 93f118da5f..f1cc59b384 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -12,9 +12,10 @@
#include <bonobo/bonobo-main.h>
#include <bonobo/bonobo-object-directory.h>
#include <glade/glade.h>
-/*#include <gconf/gconf.h>*/
#include <liboaf/liboaf.h>
-
+#ifdef GTKHTML_HAVE_GCONF
+#include <gconf/gconf.h>
+#endif
#include "e-util/e-gui-utils.h"
#include "e-util/e-cursors.h"
@@ -44,8 +45,9 @@ main (int argc, char *argv [])
"Bonobo against GOAD instead of OAF.");
}
- /*gconf_init (argc, argv, NULL);*/
-
+#ifdef GTKHTML_HAVE_GCONF
+ gconf_init (argc, argv, NULL);
+#endif
glade_gnome_init ();
session_init ();