mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
5ddff307b4
This avoids creating a mini-configure in the configure script.
Users wishing to use python2 to build need to specify PYTHON=
to both ./configure and make
After we merged the python3 change, it became clear that relying on systems prefixing
the correct python just causes trouble and make debugging harder, so only use $PYTHON
for the override, not the default case
This essentially reverts a660b7fb8e
but
leaves the files more consistent.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
16 lines
292 B
Bash
Executable File
16 lines
292 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PREVPATH=`dirname $0`
|
|
|
|
WAF=buildtools/bin/waf
|
|
[ -x "$WAF" ] || 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 $WAF configure "$@" || exit 1
|
|
cd $PREVPATH
|