[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegraphics/kpdf
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2004-08-23 20:53:56
Message-ID: 20040823205356.973743082 () office ! kde ! org
[Download RAW message or body]

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])
+)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic