* configure.ac: Use OLN_WITH_LIB instead of
OLN_WITH_LIB_PKG_CONFIG to find the `poppler-cpp' package, as the
latter incorrectly sets compile and link flags on OS X when using
the MacPorts.
---
ChangeLog | 9 +++++++++
configure.ac | 5 ++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 22b9db4..0d6c1a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-07-03 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Help configure find Poppler on OS X with the MacPorts.
+
+ * configure.ac: Use OLN_WITH_LIB instead of
+ OLN_WITH_LIB_PKG_CONFIG to find the `poppler-cpp' package, as the
+ latter incorrectly sets compile and link flags on OS X when using
+ the MacPorts.
+
2014-07-02 Roland Levillain <roland(a)lrde.epita.fr>
Update Olena's NEWS file.
diff --git a/configure.ac b/configure.ac
index f007fe0..d6b4128 100644
--- a/configure.ac
+++ b/configure.ac
@@ -306,9 +306,8 @@ OLN_WITH_LIB([TIFF], [tiff.h], [tiff])
# Poppler library. #
# ----------------- #
-OLN_WITH_LIB_PKG_CONFIG([poppler-cpp], [poppler/cpp/poppler-version.h], [poppler-cpp],
- [poppler], [POPPLER])
-
+OLN_WITH_LIB([poppler-cpp], [poppler/cpp/poppler-version.h], [poppler-cpp],
+ [poppler], [POPPLER])
# --------------------------------- #
# GDCM library (Grassroots DiCom). #
--
1.7.10.4