summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/xorg-lib-Xau.in12
-rw-r--r--rules/xorg-lib-Xau.make11
2 files changed, 19 insertions, 4 deletions
diff --git a/rules/xorg-lib-Xau.in b/rules/xorg-lib-Xau.in
index b2958b6ea..5f26bf923 100644
--- a/rules/xorg-lib-Xau.in
+++ b/rules/xorg-lib-Xau.in
@@ -1,6 +1,14 @@
-config XORG_LIB_XAU
+menuconfig XORG_LIB_XAU
bool
select XORG_PROTO_X
- prompt "libXau"
+ prompt "libXau "
help
A Sample Authorization Protocol for X for basic authorization.
+
+config XORG_LIB_XAU_THREAD
+ depends on XORG_LIB_XAU
+ bool
+ default y
+ prompt "Build libXau with thread support"
+ help
+ libXau support for Multithreading
diff --git a/rules/xorg-lib-Xau.make b/rules/xorg-lib-Xau.make
index bb6e719d2..47d2b568d 100644
--- a/rules/xorg-lib-Xau.make
+++ b/rules/xorg-lib-Xau.make
@@ -2,7 +2,7 @@
# $Id: template 4565 2006-02-10 14:23:10Z mkl $
#
# Copyright (C) 2006 by Erwin Rol
-#
+#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
@@ -64,7 +64,14 @@ XORG_LIB_XAU_ENV := $(CROSS_ENV)
#
# autoconf
#
-XORG_LIB_XAU_AUTOCONF := $(CROSS_AUTOCONF_USR)
+XORG_LIB_XAU_AUTOCONF := $(CROSS_AUTOCONF_USR) \
+ --disable-dependency-tracking
+
+ifdef PTXCONF_XORG_LIB_XAU_THREAD
+XORG_LIB_XAU_AUTOCONF += --enable-xthreads
+else
+XORG_LIB_XAU_AUTOCONF += --disable-xthreads
+endif
$(STATEDIR)/xorg-lib-Xau.prepare: $(xorg-lib-Xau_prepare_deps_default)
@$(call targetinfo, $@)