Lines Matching refs:PYTHON
790 PYTHON
939 PYTHON
1604 --with-python-sys-prefix
1605 use Python's sys.prefix and sys.exec_prefix values
1667 PYTHON the Python interpreter
5664 if test -n "$PYTHON"; then
5665 # If the user set $PYTHON, use it and don't search something else.
5666 PYTHON version is >= 3" >&5
5667 printf %s "checking whether $PYTHON version is >= 3... " >&6; }
5671 # map returns an iterator in Python 3.0 and a list in 2.x
5674 # xrange is not present in Python 3.0 and range returns an iterator
5677 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5678 ($PYTHON -c "$prog") >&5 2>&5
5688 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
5690 am_display_PYTHON=$PYTHON
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3" >&5
5695 printf %s "checking for a Python interpreter with version >= 3... " >&6; }
5701 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
5706 # map returns an iterator in Python 3.0 and a list in 2.x
5709 # xrange is not present in Python 3.0 and range returns an iterator
5724 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5726 PYTHON=:
5736 case $PYTHON in
5738 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
5763 PYTHON=$ac_cv_path_PYTHON
5764 if test -n "$PYTHON"; then
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5766 printf "%s\n" "$PYTHON" >&6; }
5778 if test "$PYTHON" = :; then
5779 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
5788 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
5801 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5814 # Allow user to request using sys.* values from Python,
5817 # Check whether --with-python-sys-prefix was given.
5826 # Allow user to override whatever the default Python prefix is.
5840 # using python sys.prefix value, not GNU
5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
5842 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
5847 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
5861 else # using GNU prefix value, not python sys.prefix
5875 # emacs-page Now do it all over again for Python exec_prefix, but with yet
5901 # Set am__usable_exec_prefix whether using GNU or Python values,
5909 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
5911 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
5916 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
5929 else # using GNU $exec_prefix, not python sys.exec_prefix
5948 # with python 3.x. See automake bug#10227.
5976 am_cv_python_pythondir=`$PYTHON -c "
5993 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
6019 am_cv_python_pyexecdir=`$PYTHON -c "
6036 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"