Lines Matching refs:PYTHON
630 PYTHON
714 PYTHON'
1344 --with-python-sys-prefix
1345 use Python's sys.prefix and sys.exec_prefix values
1351 PYTHON the Python interpreter
2579 if test -n "$PYTHON"; then
2580 # If the user set $PYTHON, use it and don't search something else.
2581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
2582 printf %s "checking whether $PYTHON version is >= 2.5... " >&6; }
2586 # map returns an iterator in Python 3.0 and a list in 2.x
2589 # xrange is not present in Python 3.0 and range returns an iterator
2592 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
2593 ($PYTHON -c "$prog") >&5 2>&5
2603 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
2605 am_display_PYTHON=$PYTHON
2609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
2610 printf %s "checking for a Python interpreter with version >= 2.5... " >&6; }
2616 for am_cv_pathless_PYTHON in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
2621 # map returns an iterator in Python 3.0 and a list in 2.x
2624 # xrange is not present in Python 3.0 and range returns an iterator
2639 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
2641 PYTHON=:
2651 case $PYTHON in
2653 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2678 PYTHON=$ac_cv_path_PYTHON
2679 if test -n "$PYTHON"; then
2680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
2681 printf "%s\n" "$PYTHON" >&6; }
2693 if test "$PYTHON" = :; then
2694 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
2703 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
2716 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
2729 # Allow user to request using sys.* values from Python,
2732 # Check whether --with-python-sys-prefix was given.
2741 # Allow user to override whatever the default Python prefix is.
2755 # using python sys.prefix value, not GNU
2756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
2757 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
2762 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
2776 else # using GNU prefix value, not python sys.prefix
2790 # emacs-page Now do it all over again for Python exec_prefix, but with yet
2816 # Set am__usable_exec_prefix whether using GNU or Python values,
2824 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
2826 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
2831 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
2844 else # using GNU $exec_prefix, not python sys.exec_prefix
2863 # with python 3.x. See automake bug#10227.
2891 am_cv_python_pythondir=`$PYTHON -c "
2908 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
2934 am_cv_python_pyexecdir=`$PYTHON -c "
2951 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"