Changeset f18209a for configure


Ignore:
Timestamp:
2020-08-30T18:11:01Z (4 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
62d375b
Parents:
b8b931d
git-author:
Jelmer Vernooij <jelmer@…> (30-08-20 17:35:07)
git-committer:
Jelmer Vernooij <jelmer@…> (30-08-20 18:11:01)
Message:

Use python3 if 'python' is not available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rb8b931d rf18209a  
    776776
    777777if [ -z "$PYTHON" ]; then
    778         PYTHON=python
     778        for pp in python python3 python2; do
     779                if which $pp > /dev/null; then
     780                        PYTHON=$pp
     781                        break
     782                fi
     783        done
    779784fi
    780785
     
    980985fi
    981986
     987echo '  Using python: '$PYTHON
    982988echo '  Using event handler: '$events
    983989echo '  Using SSL library: '$ssl
Note: See TracChangeset for help on using the changeset viewer.