From 77e0d33c3d24366ba8920f12688a525313016609 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 24 Oct 2006 17:22:32 +0200 Subject: [PATCH] Add exthandler to mozilla includes. Needed by Tomeu. --- configure.ac | 3 +++ lib/src/Makefile.am | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 2fbaf76b..1c117ce7 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,9 @@ PKG_CHECK_MODULES(LIB, gtk+-2.0 xulrunner-gtkmozembed) MOZILLA_HOME="`$PKG_CONFIG --variable=libdir xulrunner-gtkmozembed`" AC_SUBST(MOZILLA_HOME) +MOZILLA_INCLUDE_DIR="`$PKG_CONFIG --variable=includedir xulrunner-gtkmozembed`" +AC_SUBST(MOZILLA_INCLUDE_DIR) + GNOMEPYTHONEXTRAS_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0` AC_SUBST(GNOMEPYTHONEXTRAS_DEFSDIR) diff --git a/lib/src/Makefile.am b/lib/src/Makefile.am index 03c3f76b..9dc7455e 100644 --- a/lib/src/Makefile.am +++ b/lib/src/Makefile.am @@ -1,6 +1,7 @@ -INCLUDES = \ - $(WARN_CFLAGS) \ - $(LIB_CFLAGS) +INCLUDES = \ + $(WARN_CFLAGS) \ + $(LIB_CFLAGS) \ + -I$(MOZILLA_INCLUDE_DIR)/exthandler noinst_LTLIBRARIES = libsugarprivate.la