From b156b4031f5daf658f40db8efa2a3016d95b98b5 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Wed, 30 Dec 2009 23:24:23 +0100 Subject: [cpp] add the build system stuff for iconv, mandatory for cpp --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a51eedea..102a0b2d 100644 --- a/configure.ac +++ b/configure.ac @@ -453,6 +453,12 @@ AC_ARG_ENABLE(poppler-cpp, [Don't compile poppler cpp wrapper.]), enable_poppler_cpp=$enableval, enable_poppler_cpp="yes") +if test x$enable_poppler_cpp = xyes; then + AM_ICONV() + if test x$am_func_iconv != xyes; then + enable_poppler_cpp=no + fi +fi AM_CONDITIONAL(BUILD_POPPLER_CPP, test "x$enable_poppler_cpp" = "xyes") -- cgit v1.2.3