From 78cf8506d6b018e8c305a835cdf34227871e1637 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 10 Sep 2007 19:42:07 +0000 Subject: Make sure the gecko version is set to 0 if we're not compiling with the 2007-09-10 Christian Persch * 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 --- ChangeLog | 7 +++++++ m4/gecko.m4 | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index eb022130a..43e6d7f20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-09-10 Christian Persch + + * 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. + 2007-09-10 Christian Persch * configure.ac: 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"]) -- cgit v1.2.3