1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/configure
Jelmer Vernooij 010fd29688 configure: Support specifying PYTHON environment variable to run waf.
This is necessary to run configure on Minix, where python is named
"python2.X".

Reviewed-by: Simo Sorce <idra@samba.org>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2012-11-09 14:54:46 +01:00

15 lines
261 B
Bash
Executable File

#!/bin/sh
PREVPATH=`dirname $0`
WAF=./buildtools/bin/waf
# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python
JOBS=1
export JOBS
cd . || exit 1
${PYTHON:=python} $WAF configure "$@" || exit 1
cd $PREVPATH