--- configure.orig	2007-08-27 23:27:26.000000000 -0400
+++ configure	2007-08-27 23:29:35.000000000 -0400
@@ -25411,7 +25411,7 @@ fi
 
 
 
-for ac_header in execinfo.h
+for ac_header in #
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -26204,7 +26204,7 @@ else
 echo "${ECHO_T}yes" >&6
 	enable_cairo_pdf=yes
 fi
-	    if test x$enable_cairo_pdf == xyes; then
+	    if test x$enable_cairo_pdf = xyes; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_CAIRO_PDF 1
@@ -26283,7 +26283,7 @@ else
 echo "${ECHO_T}yes" >&6
 	enable_cairo_ps=yes
 fi
-	    if test x$enable_cairo_ps == xyes; then
+	    if test x$enable_cairo_ps = xyes; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_CAIRO_PS 1
