mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
Add configure script that is just a wrapper for python 'src/mk_make.py'. It makes the build more user friendly for users familiar with ./configure + make idiom
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
7312f49f88
commit
349c21d4de
2 changed files with 17 additions and 1 deletions
17
configure
vendored
Executable file
17
configure
vendored
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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 $*
|
Loading…
Add table
Add a link
Reference in a new issue