[gobject-introspection] build: Fix previous commit



commit fc2e46f7d3c90c117639fe86b0e42f34d97b704f
Author: Colin Walters <walters verbum org>
Date:   Mon Jan 7 13:41:09 2013 -0500

    build: Fix previous commit

 configure.ac |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 96b3675..71223e0 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])
   ])
 ])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]