ctdb/configure
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | PREVPATH=`dirname $0` |
| 4 | |
| 5 | WAF=buildtools/bin/waf |
| 6 | [ -x "$WAF" ] || WAF=../buildtools/bin/waf |
| 7 | |
| 8 | # using JOBS=1 gives maximum compatibility with |
| 9 | # systems like AIX which have broken threading in python |
| 10 | JOBS=1 |
| 11 | export JOBS |
| 12 | |
| 13 | # Make sure we don't have any library preloaded. |
| 14 | unset LD_PRELOAD |
| 15 | |
| 16 | # Make sure we get stable hashes |
| 17 | PYTHONHASHSEED=1 |
| 18 | export PYTHONHASHSEED |
| 19 | |
| 20 | cd . || exit 1 |
| 21 | $PYTHON $WAF configure "$@" || exit 1 |
| 22 | cd $PREVPATH |