[goffice] configuration: take a guess as to how EPS check was meant to work.



commit c7db6cb50b1a63abd8492600c6e7d193ce50e4af
Author: Morten Welinder <terra gnome org>
Date:   Fri Nov 4 15:32:22 2011 -0400

    configuration: take a guess as to how EPS check was meant to work.

 configure.in |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index a7d180b..a39193e 100644
--- a/configure.in
+++ b/configure.in
@@ -141,9 +141,8 @@ dnl ***************************
 dnl Should we use libspectre ?
 dnl ***************************
 
-goffice_with_eps=false
-PKG_CHECK_MODULES(EPS, libspectre >= 0.2.6)
 goffice_with_eps=true
+PKG_CHECK_MODULES(EPS, libspectre >= 0.2.6,[], [goffice_with_eps=false])
 if test "x$goffice_with_eps" = "xtrue" ; then
 	AC_DEFINE(GOFFICE_WITH_EPS, 1, [Define if EPS is supported])
 	goffice_reqs="$goffice_reqs libspectre >= 0.2.6 "



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