build: Fix previous commit
authorColin Walters <walters@verbum.org>
Mon, 7 Jan 2013 18:41:09 +0000 (13:41 -0500)
committerColin Walters <walters@verbum.org>
Mon, 7 Jan 2013 18:41:09 +0000 (13:41 -0500)
configure.ac

index 96b3675..71223e0 100644 (file)
@@ -138,9 +138,7 @@ AC_ARG_WITH(cairo,
 
 AS_IF([test x${with_cairo} != xno], [
   PKG_CHECK_MODULES(CAIRO, [cairo cairo-gobject], have_cairo=yes, have_cairo=no)
-  AS_IF([ test x$have_cairo = xyes && test x$with_cairo = xmaybe ], [
-    have_cairo=no
-  ], [ test x$have_cairo = xno && test x$with_cairo = xyes ], [
+  AS_IF([ test x$have_cairo = xno && test x$with_cairo = xyes ], [
     AC_MSG_ERROR([cairo enabled but not found])
   ])
 ])