Change threading defaults on FreeBSD

Gerald Pfeifer gerald at pfeifer.com
Sun Apr 16 10:21:49 CDT 2006


[ wine-devel -> wine-patches ]

On Fri, 14 Apr 2006, Alexandre Julliard wrote:
> On Linux, wine-glibc (installed as wine) will detect the threading
> flavor, and then exec wine-pthread or wine-kthread. You need to do
> something like that too, otherwise it doesn't make sense to build
> both, since users will always invoke the one installed as wine.

That was my plan: give users wine-pthread by default (name "wine") and 
offer wine-kthread as a backup option (for debugging).

However, I can understand why you prefer not to make this the default 
behavior of vanilla Wine sources, so let me propose the following patch
instead.

Thanks for explaining the details of these settings to me, Alexandre!

Gerald

ChangeLog:
On FreeBSD, make wine-pthread the new default.

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.476
diff -u -3 -p -r1.476 configure.ac
--- configure.ac	12 Apr 2006 19:03:39 -0000	1.476
+++ configure.ac	16 Apr 2006 15:07:36 -0000
@@ -1163,6 +1163,8 @@ case $host_cpu in
         AC_SUBST(EXTRA_BINARIES,"wine-kthread wine-pthread wine-preloader") ;;
       darwin*)
         AC_SUBST(MAIN_BINARY,"wine-pthread") ;;
+      freebsd*)
+        AC_SUBST(MAIN_BINARY,"wine-pthread") ;;
       *)
         AC_SUBST(MAIN_BINARY,"wine-kthread") ;;
     esac



More information about the wine-patches mailing list