1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/ctdb/configure
Martin Schwenke ef72188302 ctdb-build: Allow configure and Makefile to find waf in tarball
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2014-09-10 01:36:14 +02:00

16 lines
302 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:=python} $WAF configure "$@" || exit 1
cd $PREVPATH