File: configure

package info (click to toggle)
z3 4.13.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 33,364 kB
  • sloc: cpp: 501,803; python: 16,788; cs: 10,567; java: 9,687; ml: 3,282; ansic: 2,531; sh: 162; javascript: 37; makefile: 32
file content (17 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 "$@"