aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-09-11 03:42:07 +0800
committerChristian Persch <chpe@src.gnome.org>2007-09-11 03:42:07 +0800
commit78cf8506d6b018e8c305a835cdf34227871e1637 (patch)
treee8b906064015958f26e4c0c22de86fe96148a97d /m4
parent5419e4d4d29bf4896fcf194af4a7f98a24841e16 (diff)
downloadgsoc2013-epiphany-78cf8506d6b018e8c305a835cdf34227871e1637.tar
gsoc2013-epiphany-78cf8506d6b018e8c305a835cdf34227871e1637.tar.gz
gsoc2013-epiphany-78cf8506d6b018e8c305a835cdf34227871e1637.tar.bz2
gsoc2013-epiphany-78cf8506d6b018e8c305a835cdf34227871e1637.tar.lz
gsoc2013-epiphany-78cf8506d6b018e8c305a835cdf34227871e1637.tar.xz
gsoc2013-epiphany-78cf8506d6b018e8c305a835cdf34227871e1637.tar.zst
gsoc2013-epiphany-78cf8506d6b018e8c305a835cdf34227871e1637.zip
Make sure the gecko version is set to 0 if we're not compiling with the
2007-09-10 Christian Persch <chpe@gnome.org> * m4/gecko.m4: Make sure the gecko version is set to 0 if we're not compiling with the gecko backend. Bug #475461, patch by Cyril Brulebois. svn path=/trunk/; revision=7379
Diffstat (limited to 'm4')
-rw-r--r--m4/gecko.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/gecko.m4 b/m4/gecko.m4
index f35e12add..0e8d58813 100644
--- a/m4/gecko.m4
+++ b/m4/gecko.m4
@@ -340,6 +340,10 @@ $1[]_GLUE_LIBS="$gecko_cv_glue_libs"
AC_DEFUN([GECKO_DEFINES],
[
+# Ensure we have an integer variable to compare with
+if test -z "$gecko_cv_gecko_version_int"; then
+ gecko_cv_gecko_version_int=0
+fi
AM_CONDITIONAL([HAVE_MOZILLA_TOOLKIT],[test "$gecko_cv_have_gecko" = "yes" -a "$gecko_cv_gecko_flavour" = "toolkit"])
AM_CONDITIONAL([HAVE_GECKO_DEBUG],[test "$gecko_cv_have_gecko" = "yes" -a "$gecko_cv_have_debug" = "yes"])
AM_CONDITIONAL([HAVE_GECKO_1_7],[test "$gecko_cv_have_gecko" = "yes" -a "$gecko_cv_gecko_version_int" -ge "1007000"])