Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-01-21 20:58:05 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-01-21 20:58:05 (GMT)
commita07eef0ab05900113e9c39be4597ef1b8ea401be (patch)
tree593ae88d0e1d7ae400cb32aad2be3d429e9d5683
parentade9ede1ae9eb7c3deca7ce2812ed44e2a8758a3 (diff)
Use mozilla-config.h when necessary.
-rw-r--r--lib/python/Makefile.am1
-rw-r--r--lib/src/GeckoContentHandler.cpp2
-rw-r--r--lib/src/GeckoDownload.cpp2
-rw-r--r--lib/src/Makefile.am1
-rw-r--r--lib/src/sugar-browser.cpp2
5 files changed, 8 insertions, 0 deletions
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 <nsCExternalHandlerService.h>
#include <nsIFile.h>
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"