[gnome-commander] Enhanced poppler configure output



commit 3a057cdd7cecea7e12997e1a3a791daf44394894
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Fri Feb 21 11:52:00 2014 +0100

    Enhanced poppler configure output

 configure.in |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index 9b4fbf2..aec34f5 100644
--- a/configure.in
+++ b/configure.in
@@ -270,6 +270,10 @@ if test x$with_poppler != xno; then
 fi
 if test "x$have_pdf" = "xyes"; then
    AC_DEFINE(HAVE_PDF, 1, [Define to 1 if you have PDF support])
+   POPPLER_PREFIX=`pkg-config --variable=prefix poppler`
+   POPPLER_VERSION=`pkg-config --modversion poppler`
+   AC_SUBST(POPPLER_VERSION)
+   AC_SUBST(POPPLER_PREFIX)
 fi
 
 
@@ -467,6 +471,9 @@ echo "  gnomeui        : ${GNOMEUI_VERSION} in ${GNOMEUI_PREFIX}"
 echo "  gnome-vfs      : ${GNOMEVFS_VERSION}   in ${GNOMEVFS_PREFIX}"
 echo "  gnome-keyring  : ${GNOME_KEYRING_VERSION}      in ${GNOME_KEYRING_PREFIX}"
 echo "  libUnique      : ${UNIQUE_VERSION}     in ${UNIQUE_PREFIX}"
+if test "x$have_pdf" = "xyes"; then
+echo "  poppler        : ${POPPLER_VERSION}    in ${POPPLER_PREFIX}"
+fi
 if test "x$have_python" = "xyes"; then
 echo "  python         : ${PYTHON_VERSION}     in ${PY_EXEC_PREFIX}"
 fi


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