From fc2e46f7d3c90c117639fe86b0e42f34d97b704f Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 7 Jan 2013 13:41:09 -0500 Subject: build: Fix previous commit --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 96b36751..71223e05 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) ]) ]) -- cgit v1.2.1