summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-01-14 21:06:48 +0000
committerChristian Persch <chpe@src.gnome.org>2006-01-14 21:06:48 +0000
commit7ee5680874383d1d111ae3cd3dec10c5b4111385 (patch)
tree6dfe29c741753a421ba1f8a6153576968d0241df /m4
parentd9c3fe17a3c1595fdf4ae850a03efc093cac8aea (diff)
downloadepiphany-7ee5680874383d1d111ae3cd3dec10c5b4111385.tar.gz
Add defines and automake conditional for toolkit flavour.
2006-01-14 Christian Persch <chpe@cvs.gnome.org> * m4/gecko.m4: Add defines and automake conditional for toolkit flavour. * configure.ac: * data/Makefile.am: A data/chrome/.cvsignore: A data/chrome/Makefile.am: A data/chrome/brand.dtd.in: A data/chrome/brand.properties.in: A data/chrome/epiphany.manifest.in: Provide branding so mozilla dialogues don't show "Deer Park" or "Firefox" but "Epiphany" instead. * embed/mozilla/Makefile.am: A embed/mozilla/EphyDirectoryProvider.cpp: A embed/mozilla/EphyDirectoryProvider.h: * embed/mozilla/mozilla-embed-single.cpp: Add a directory service provider.
Diffstat (limited to 'm4')
-rw-r--r--m4/gecko.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/gecko.m4 b/m4/gecko.m4
index 5f35e9a4c..22f95151f 100644
--- a/m4/gecko.m4
+++ b/m4/gecko.m4
@@ -94,6 +94,12 @@ _GECKO_PREFIX="`$PKG_CONFIG --variable=prefix ${gecko_cv_gecko}-gtkmozembed`"
fi # if gecko_cv_have_gecko
+if test "$gecko_cv_gecko_flavour" = "toolkit"; then
+ AC_DEFINE([HAVE_MOZILLA_TOOLKIT],[1],[Define if mozilla is of the toolkit flavour])
+fi
+
+AM_CONDITIONAL([HAVE_MOZILLA_TOOLKIT],[test "$gecko_cv_gecko_flavour" = "toolkit"])
+
$1[]=$gecko_cv_gecko
$1[]_FLAVOUR=$gecko_cv_gecko_flavour
$1[]_INCLUDE_ROOT=$_GECKO_INCLUDE_ROOT