CVS commit by aacid: Add a configuration switch that enables the user to enable the multithreading present in xpdf code. Also removes the warnings about "MULTITHREADING" is not defined M +15 -0 configure.in.in 1.8 --- kdegraphics/kpdf/configure.in.in #1.7:1.8 @@ -43,2 +43,17 @@ AC_DEFINE_UNQUOTED(SYSTEM_XPDFRC, "$xpdfrc/xpdfrc", [Define the location your xpdfrc]) fi + +AC_ARG_ENABLE(multithreaded-kpdf, +AC_HELP_STRING([--enable-multithreaded-kpdf],[include support for multithreading in kpdf]), +[ + case $enableval in + yes) + AC_DEFINE(MULTITHREADED, 1, [Defines if use multithreading in kpdf]) + ;; + *) + AC_DEFINE(MULTITHREADED, 0, [Defines if use multithreading in kpdf]) + ;; + esac +] +, AC_DEFINE(MULTITHREADED, 0, [Defines if use multithreading in kpdf]) +)