diff options
| -rw-r--r-- | configure.ac | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index bc4cf9342b4..70e395cd7be 100644 --- a/configure.ac +++ b/configure.ac @@ -620,17 +620,17 @@ dnl if the user has not specified a python, pick one  if test -z "${PYTHON}"; then    case $host_os in      freebsd*) -      if test -x /usr/local/bin/python3; then -        PYTHON=/usr/local/bin/python3 -      else +      if test -x /usr/local/bin/python2; then          PYTHON=/usr/local/bin/python2 +      else +        PYTHON=/usr/local/bin/python3        fi        ;;      *) -      if test -x /usr/bin/python3; then -        PYTHON=/usr/bin/python3 -      else +      if test -x /usr/bin/python2; then          PYTHON=/usr/bin/python2 +      else +        PYTHON=/usr/bin/python3        fi        ;;    esac  | 
