$OpenBSD: patch-configure_ac,v 1.1 2008/07/08 22:38:53 jasper Exp $
--- configure.ac.orig	Wed Jul  9 00:30:06 2008
+++ configure.ac	Wed Jul  9 00:31:38 2008
@@ -34,12 +34,8 @@ if test -n "$EVOLUTION_VERSION"; then
 	EVOLUTION_BASE_VERSION=$EVOLUTION_VERSION
 	EVOLUTION_BASE_VERSION_S=""
 	EVOLUTION_EXEC_VERSION=`pkg-config --variable=execversion evolution-shell 2>/dev/null`
-	if test -n "$EVOLUTION_EXEC_VERSION"; then
-		break;
-	else
-		dnl we need major minor here
+	if test -z "$EVOLUTION_EXEC_VERSION"; then
 		EVOLUTION_EXEC_VERSION=$EVOLUTION_BASE_VERSION
-		break;
 	fi
 else
 	evo_versions='12 11 10 8 6 4'
@@ -227,6 +223,8 @@ AC_SUBST([GECKO_LIBS])
 		fi
 	fi
 fi
+
+AM_CONDITIONAL([HAVE_GECKO], [test "x$have_gecko" = "xyes"])
 
 # *******************************
 # webkit renderer
