From: Erwin Rol <[email protected]>
Signed-off-by: Erwin Rol <[email protected]>
---
rules/libxcb.in | 1 +
rules/libxcb.make | 15 ++++++++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/rules/libxcb.in b/rules/libxcb.in
index 1131b57..cc3218e 100644
--- a/rules/libxcb.in
+++ b/rules/libxcb.in
@@ -4,6 +4,7 @@ config LIBXCB
tristate
prompt "libxcb"
select XCB_PROTO
+ select HOST_PYTHON
select LIBPTHREAD_STUBS
select XORG_LIB_XAU
# configure tries to autodetect XDMCP support.
diff --git a/rules/libxcb.make b/rules/libxcb.make
index 0eaeb10..54498b5 100644
--- a/rules/libxcb.make
+++ b/rules/libxcb.make
@@ -35,15 +35,20 @@ $(LIBXCB_SOURCE):
# Prepare
# ----------------------------------------------------------------------------
-LIBXCB_PATH := PATH=$(CROSS_PATH)
-LIBXCB_ENV := $(CROSS_ENV) ac_cv_prog_BUILD_DOCS=no
-
#
# autoconf
#
-LIBXCB_AUTOCONF := \
+LIBXCB_CONF_TOOL := autoconf
+LIBXCB_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
- --disable-build-docs
+ --disable-build-docs \
+ ac_cv_prog_BUILD_DOCS=no \
+ am_cv_pathless_PYTHON=python2.6
+
+
+# why does this am_cv_pathless_PYTHON=python$(PYTHON_MAJORMINOR)
+# no work, and why does it work in xcb-proto.make ?
+
#
# configure outputs: checking for XDMCP... no
# How to control this in a reliable way?
--
1.7.0
--
ptxdist mailing list
[email protected]