summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2020-10-02 20:40:52 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2020-10-02 20:52:38 +0200
commit9885c9b43a6c72ea89852989f4fa4a9a4619014a (patch)
tree82e9df5692cae13b66bfe81305e1f6297f1ebf48 /configure
parent2df7ef58a547a62b83264d291295890ce72066d5 (diff)
downloadlvm2-9885c9b43a6c72ea89852989f4fa4a9a4619014a.tar.gz
configure: use our ordered list of python names
Since it seems it's prefered now to use python3 in path name, prefer this name as first in the list.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4020eaa80..29d19f249 100755
--- a/configure
+++ b/configure
@@ -11881,7 +11881,7 @@ if ${am_cv_pathless_PYTHON+:} false; then :
$as_echo_n "(cached) " >&6
else
- 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
+ for am_cv_pathless_PYTHON in python3 python2 python 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
test "$am_cv_pathless_PYTHON" = none && break
prog="import sys
# split strings by '.' and convert to numeric. Append some zeros