[poppler] 2 commits - CMakeLists.txt configure.ac

Adrian Johnson ajohnson at kemper.freedesktop.org
Wed Oct 14 14:15:17 PDT 2015


 CMakeLists.txt |   16 ++++++++++++++++
 configure.ac   |    4 ++--
 2 files changed, 18 insertions(+), 2 deletions(-)

New commits:
commit fb906dca8b84d03267099cc3174c50e932a55236
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Thu Oct 15 07:19:16 2015 +1030

    cmake: synchronize warnings with configure

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff81531..6102a93 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -737,6 +737,22 @@ endif(LCMS2_FOUND)
 show_end_message_yesno("command line utils" ENABLE_UTILS)
 show_end_message("test data dir" ${TESTDATADIR})
 
+if(NOT ENABLE_SPLASH AND NOT CAIRO_FOUND)
+  message("Warning: There is no rendering backend enabled")
+endif(NOT ENABLE_SPLASH AND NOT CAIRO_FOUND)
+
 if(USE_FIXEDPOINT AND USE_FLOAT)
   message("Warning: Single precision and fixed point options should not be enabled at the same time")
 endif(USE_FIXEDPOINT AND USE_FLOAT)
+
+if(NOT ENABLE_LIBJPEG)
+  message("Warning: Using libjpeg is recommended. The internal DCT decoder is unmaintained.")
+endif(NOT ENABLE_LIBJPEG)
+
+if(ENABLE_ZLIB)
+  message("Warning: Using zlib is not totally safe")
+endif(ENABLE_ZLIB)
+
+if(NOT WITH_OPENJPEG)
+  message("Warning: Using libopenjpeg is recommended. The internal JPX decoder is unmaintained.")
+endif(NOT WITH_OPENJPEG)
commit 6329e3999d0a45b4c0cd0a8b675362e694bf1243
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Thu Oct 15 07:11:13 2015 +1030

    configure: warn that the internal DCT/JPX decoders are unmaintained

diff --git a/configure.ac b/configure.ac
index e826adf..710d26a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1038,7 +1038,7 @@ if test x$enable_single_precision = xyes -a x$enable_fixedpoint = xyes; then
 fi
 
 if test x$enable_libjpeg != xyes; then
-	echo "  Warning: Using libjpeg is recommended"
+	echo "  Warning: Using libjpeg is recommended. The internal DCT decoder is unmaintained."
 fi
 
 if test x$enable_zlib != xno; then
@@ -1046,5 +1046,5 @@ if test x$enable_zlib != xno; then
 fi
 
 if test x$enable_libopenjpeg != xyes; then
-	echo "  Warning: Using libopenjpeg is recommended"
+	echo "  Warning: Using libopenjpeg is recommended. The internal JPX decoder is unmaintained."
 fi


More information about the poppler mailing list