Lines Matching refs:PYTHON
785 PYTHON
1503 --with-python path to python
8441 # Check whether --with-python was given.
8443 withval=$with_python; PYTHON="$withval"
8447 if test -n "$PYTHON" && test -x "$PYTHON" ; then
8448 { echo "$as_me:$LINENO: checking for python" >&5
8449 echo $ECHO_N "checking for python... $ECHO_C" >&6; }
8453 if test -n "$PYTHON" ; then
8454 { echo "$as_me:$LINENO: WARNING: specified python ($PYTHON) is not usable, searching path" >&5
8455 echo "$as_me: WARNING: specified python ($PYTHON) is not usable, searching path" >&2;}
8458 # Extract the first word of "python python2 python27", so it can be a program name with args.
8459 set dummy python python2 python27; ac_word=$2
8465 case $PYTHON in
8467 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
8487 { { echo "$as_me:$LINENO: error: could not find python 2.7 or higher" >&5
8488 echo "$as_me: error: could not find python 2.7 or higher" >&2;}
8493 PYTHON=$ac_cv_path_PYTHON
8494 if test -n "$PYTHON"; then
8495 { echo "$as_me:$LINENO: result: $PYTHON" >&5
8496 echo "${ECHO_T}$PYTHON" >&6; }
8505 { echo "$as_me:$LINENO: checking for python >= 2.7" >&5
8506 echo $ECHO_N "checking for python >= 2.7... $ECHO_C" >&6; }
8507 ac_python_version=`$PYTHON -V 2>&1 | cut -d' ' -f2`
8514 { echo "$as_me:$LINENO: result: $PYTHON ($ac_python_version)" >&5
8515 echo "${ECHO_T}$PYTHON ($ac_python_version)" >&6; }
8519 { { echo "$as_me:$LINENO: error: found python $ac_python_version ($PYTHON); required >= 2.7
8521 echo "$as_me: error: found python $ac_python_version ($PYTHON); required >= 2.7
18977 PYTHON!$PYTHON$ac_delim