From a07eef0ab05900113e9c39be4597ef1b8ea401be Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 21 Jan 2007 20:58:05 +0000 Subject: Use mozilla-config.h when necessary. --- diff --git a/lib/python/Makefile.am b/lib/python/Makefile.am index e1ac793..eedc5ea 100644 --- a/lib/python/Makefile.am +++ b/lib/python/Makefile.am @@ -14,6 +14,7 @@ pkgpyexec_LTLIBRARIES = _sugar.la _sugar_la_LDFLAGS = -module -avoid-version -R$(MOZILLA_HOME) _sugar_la_LIBADD = \ $(LIB_LIBS) \ + $(GECKO_LIBS) \ $(PYCAIRO_LIBS) \ $(top_builddir)/lib/src/libsugarprivate.la diff --git a/lib/src/GeckoContentHandler.cpp b/lib/src/GeckoContentHandler.cpp index 4d9de8e..a19cdc3 100644 --- a/lib/src/GeckoContentHandler.cpp +++ b/lib/src/GeckoContentHandler.cpp @@ -1,3 +1,5 @@ +#include "mozilla-config.h" + #include #include diff --git a/lib/src/GeckoDownload.cpp b/lib/src/GeckoDownload.cpp index 66eb7c8..35993d7 100644 --- a/lib/src/GeckoDownload.cpp +++ b/lib/src/GeckoDownload.cpp @@ -1,3 +1,5 @@ +#include "mozilla-config.h" + #include "sugar-download-manager.h" #include "GeckoDownload.h" diff --git a/lib/src/Makefile.am b/lib/src/Makefile.am index 341caf8..8fce6f6 100644 --- a/lib/src/Makefile.am +++ b/lib/src/Makefile.am @@ -15,6 +15,7 @@ libsugarprivate_la_CPPFLAGS = \ noinst_LTLIBRARIES = libsugarprivate.la libsugarprivate_la_LIBADD = $(LIB_LIBS) \ + $(GECKO_LIBS) \ -lgstinterfaces-0.10 \ -lgstaudio-0.10 diff --git a/lib/src/sugar-browser.cpp b/lib/src/sugar-browser.cpp index dfd05d7..5608249 100644 --- a/lib/src/sugar-browser.cpp +++ b/lib/src/sugar-browser.cpp @@ -17,6 +17,8 @@ * Boston, MA 02111-1307, USA. */ +#include "mozilla-config.h" + #include "sugar-browser.h" #include "GeckoContentHandler.h" #include "GeckoDownload.h" -- cgit v0.9.1