mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +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
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -44,7 +44,6 @@ bld_rel_x64/*
|
||||||
# Auto generated files.
|
# Auto generated files.
|
||||||
config.log
|
config.log
|
||||||
config.status
|
config.status
|
||||||
configure
|
|
||||||
install_tactic.cpp
|
install_tactic.cpp
|
||||||
mem_initializer.cpp
|
mem_initializer.cpp
|
||||||
gparams_register_modules.cpp
|
gparams_register_modules.cpp
|
||||||
|
|
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…
Reference in a new issue