configure
raw| 1 | #!/bin/sh |
| 2 | if test -z $PYTHON; then |
| 3 | PYTHON=python |
| 4 | fi |
| 5 | |
| 6 | if ! which $PYTHON > /dev/null; then |
| 7 | echo "'$PYTHON' not found. Try to set the environment variable PYTHON." |
| 8 | exit 1 |
| 9 | fi |
| 10 | |
| 11 | |
| 12 | if ! $PYTHON -c "print('testing')" > /dev/null ; then |
| 13 | echo "'$PYTHON' failed to execute basic test script. Try to set the environment variable PYTHON with a working Python interpreter." |
| 14 | exit 1 |
| 15 | fi |
| 16 | |
| 17 | $PYTHON scripts/mk_make.py "$@" |