aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-28 20:46:24 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-28 20:46:24 +0800
commit7a2d258ca56a94cca48bb2875d7b2a1dfb4e0e09 (patch)
tree57370507ed0407961b6dd4d23004475da0998628 /configure.ac
parenta913abc0b33ea25f706d5ebf6e98626d31da39d5 (diff)
downloadgsoc2013-epiphany-7a2d258ca56a94cca48bb2875d7b2a1dfb4e0e09.tar
gsoc2013-epiphany-7a2d258ca56a94cca48bb2875d7b2a1dfb4e0e09.tar.gz
gsoc2013-epiphany-7a2d258ca56a94cca48bb2875d7b2a1dfb4e0e09.tar.bz2
gsoc2013-epiphany-7a2d258ca56a94cca48bb2875d7b2a1dfb4e0e09.tar.lz
gsoc2013-epiphany-7a2d258ca56a94cca48bb2875d7b2a1dfb4e0e09.tar.xz
gsoc2013-epiphany-7a2d258ca56a94cca48bb2875d7b2a1dfb4e0e09.tar.zst
gsoc2013-epiphany-7a2d258ca56a94cca48bb2875d7b2a1dfb4e0e09.zip
A data/default-prefs-common.js: A data/default-prefs-mozilla.js: A
2004-09-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/Makefile.am: A data/default-prefs-common.js: A data/default-prefs-mozilla.js: A data/default-prefs-toolkit.js: R data/default-prefs.js: Split the default prefs into the common part, and mozilla/new toolkit specific parts.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 100c20965..6b6d6072b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,14 +152,19 @@ elif test "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a "x
AC_MSG_ERROR([unknown mozilla name ($MOZILLA)])
fi
+AC_SUBST(MOZILLA)
+
AC_MSG_RESULT([$MOZILLA])
case "$MOZILLA" in
-mozilla) min_version=1.7 ;;
-firefox) min_version=0.10 ;;
-thunderbird) min_version=0.8 ;;
+mozilla) min_version=1.7 flavour=mozilla ;;
+firefox) min_version=0.10 flavour=toolkit ;;
+thunderbird) min_version=0.8 flavour=toolkit ;;
esac
+MOZILLA_FLAVOUR=$flavour
+AC_SUBST(MOZILLA_FLAVOUR)
+
PKG_CHECK_MODULES(MOZILLA_COMPONENT, $MOZILLA-gtkmozembed >= $min_version $MOZILLA-xpcom >= $min_version)
AC_SUBST(MOZILLA_COMPONENT_CFLAGS)
AC_SUBST(MOZILLA_COMPONENT_LIBS)