From 891540f456f415a0f59b73f3edfe04027220619c Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 16 Nov 2009 16:26:53 +0000 Subject: [build] Fail to build when poppler isn't found and --disable-pdf option hasn't been provided --- (limited to 'configure.ac') 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 -- cgit v0.9.1