Use mozilla-config.h when necessary.

This commit is contained in:
Marco Pesenti Gritti 2007-01-21 21:58:05 +01:00
parent ade9ede1ae
commit a07eef0ab0
5 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,7 @@ pkgpyexec_LTLIBRARIES = _sugar.la
_sugar_la_LDFLAGS = -module -avoid-version -R$(MOZILLA_HOME) _sugar_la_LDFLAGS = -module -avoid-version -R$(MOZILLA_HOME)
_sugar_la_LIBADD = \ _sugar_la_LIBADD = \
$(LIB_LIBS) \ $(LIB_LIBS) \
$(GECKO_LIBS) \
$(PYCAIRO_LIBS) \ $(PYCAIRO_LIBS) \
$(top_builddir)/lib/src/libsugarprivate.la $(top_builddir)/lib/src/libsugarprivate.la

View File

@ -1,3 +1,5 @@
#include "mozilla-config.h"
#include <nsCExternalHandlerService.h> #include <nsCExternalHandlerService.h>
#include <nsIFile.h> #include <nsIFile.h>

View File

@ -1,3 +1,5 @@
#include "mozilla-config.h"
#include "sugar-download-manager.h" #include "sugar-download-manager.h"
#include "GeckoDownload.h" #include "GeckoDownload.h"

View File

@ -15,6 +15,7 @@ libsugarprivate_la_CPPFLAGS = \
noinst_LTLIBRARIES = libsugarprivate.la noinst_LTLIBRARIES = libsugarprivate.la
libsugarprivate_la_LIBADD = $(LIB_LIBS) \ libsugarprivate_la_LIBADD = $(LIB_LIBS) \
$(GECKO_LIBS) \
-lgstinterfaces-0.10 \ -lgstinterfaces-0.10 \
-lgstaudio-0.10 -lgstaudio-0.10

View File

@ -17,6 +17,8 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include "mozilla-config.h"
#include "sugar-browser.h" #include "sugar-browser.h"
#include "GeckoContentHandler.h" #include "GeckoContentHandler.h"
#include "GeckoDownload.h" #include "GeckoDownload.h"