z3/configure

18 lines
418 B
Plaintext
Raw Normal View History

2022-08-15 16:26:39 +08:00
#!/bin/sh
if test -z $PYTHON; then
PYTHON=python
fi
if ! which $PYTHON > /dev/null; then
echo "'$PYTHON' not found. Try to set the environment variable PYTHON."
exit 1
fi
if ! $PYTHON -c "print('testing')" > /dev/null ; then
echo "'$PYTHON' failed to execute basic test script. Try to set the environment variable PYTHON with a working Python interpreter."
exit 1
fi
$PYTHON scripts/mk_make.py "$@"