[evince] [build] Fail to build when poppler isn't found and --disable-pdf option hasn't been provided



commit 891540f456f415a0f59b73f3edfe04027220619c
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Mon Nov 16 17:26:53 2009 +0100

    [build] Fail to build when poppler isn't found and --disable-pdf option hasn't been provided

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a846d77..519907a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,7 +498,7 @@ if test "x$enable_pdf" = "xyes"; then
 	            AC_DEFINE([HAVE_CAIRO_PS], [1], [defined if cairo-ps is available])
             fi
     else
-	    AC_MSG_WARN("PDF support is disabled since poppler-glib library version $POPPLER_REQUIRED or newer not found")
+	    AC_MSG_ERROR("PDF support is disabled since poppler-glib library version $POPPLER_REQUIRED or newer not found")
     fi 
 fi
 



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