aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-05-12 20:37:11 +0800
committerChristian Persch <chpe@src.gnome.org>2006-05-12 20:37:11 +0800
commitdee395feca2885cf17c7d42e717c67cacdd83214 (patch)
tree4566920397e9fe1bf09a7d2281a69d77d6800d34 /configure.ac
parent6f6ace51b1003f1c315ca258feb2be808f2a0eb6 (diff)
downloadgsoc2013-epiphany-dee395feca2885cf17c7d42e717c67cacdd83214.tar
gsoc2013-epiphany-dee395feca2885cf17c7d42e717c67cacdd83214.tar.gz
gsoc2013-epiphany-dee395feca2885cf17c7d42e717c67cacdd83214.tar.bz2
gsoc2013-epiphany-dee395feca2885cf17c7d42e717c67cacdd83214.tar.lz
gsoc2013-epiphany-dee395feca2885cf17c7d42e717c67cacdd83214.tar.xz
gsoc2013-epiphany-dee395feca2885cf17c7d42e717c67cacdd83214.tar.zst
gsoc2013-epiphany-dee395feca2885cf17c7d42e717c67cacdd83214.zip
Update gecko version checks to detect also gecko 1.8.1.
2006-05-12 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * m4/gecko.m4: Update gecko version checks to detect also gecko 1.8.1.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 4 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 59d262cdd..81e06637a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -266,7 +266,7 @@ AC_MSG_CHECKING([whether to enable native gtk+ filepicker])
AC_ARG_ENABLE([filepicker],
AS_HELP_STRING([--enable-filepicker],[Whether to enable the gtk+ native filepicker; not needed when the mozilla build itself has native gtk+ filepicker enabled (default:enabled)]),
[],
- [if test "$gecko_cv_gecko_version_major" = 1 -a "$gecko_cv_gecko_version_minor" -ge "8"; then
+ [if test "$gecko_cv_gecko_version_int" -ge "1008000"; then
enable_filepicker=no
else
enable_filepicker=yes
@@ -304,7 +304,7 @@ GECKO_CHECK_HEADERS([xpcom],[nsIMutableArray.h])
REQUIRED_CONTRACTS="@mozilla.org/permissionmanager;1 @mozilla.org/PopupWindowManager;1 @mozilla.org/cookie/permission;1"
REQUIRED_EXTENSIONS="cookie"
-if test "$gecko_cv_gecko_version_major" = 1 -a "$gecko_cv_gecko_version_minor" -ge "8"; then
+if test "$gecko_cv_gecko_version_int" -ge "1008000"; then
REQUIRED_CONTRACTS="$REQUIRED_CONTRACTS @mozilla.org/permissions/contentblocker;1"
REQUIRED_EXTENSIONS="$REQUIRED_EXTENSIONS,permissions"
fi
@@ -450,10 +450,8 @@ AC_SUBST([EPIPHANY_FEATURES])
# Plugins
# *******
-# Gecko 1.9 can handle .desktop files from file: URLs itself, so disable
-# this plugin at least until we handle non-file: URLs
-
-if test "$MOZILLA_VERSION_MAJOR" = "1" -a "$MOZILLA_VERSION_MINOR" -le "8"; then
+# Gecko 1.9 can handle .desktop files from file: URLs itself, but we
+# also support windows .lnk files, so always enable this plugin
AC_MSG_CHECKING([whether to build the deskop file plugin])
AC_ARG_ENABLE([desktop-file-plugin],
@@ -461,8 +459,6 @@ AC_ARG_ENABLE([desktop-file-plugin],
[],[enable_desktop_file_plugin=yes])
AC_MSG_RESULT([$enable_desktop_file_plugin])
-fi
-
AM_CONDITIONAL([ENABLE_DESKTOP_FILE_PLUGIN],[test "x$enable_desktop_file_plugin" = "xyes"])
if test "x$enable_desktop_file_plugin" = "xyes"; then