diff options
author | Tom Lane | 2017-02-21 16:28:23 +0000 |
---|---|---|
committer | Tom Lane | 2017-02-21 16:28:23 +0000 |
commit | 4e5ce3c1aeadf81b504bc9d683b67950bd3f8766 (patch) | |
tree | 62061462f717a6391d538a9f50f56e63f9f1892c /configure.in | |
parent | 04aad401867ad3e1519615d8486e32b50dbcb5f5 (diff) |
Reject too-old Python versions a bit sooner.
Commit 04aad4018 added this check after the search for a Python shared
library, which seems to me to be a pretty unfriendly ordering. The
search might fail for what are basically version-related reasons, and
in such a case it'd be better to say "your Python is too old" than
"could not find shared library for Python".
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 9e4fb0fa80a..01b618c931d 100644 --- a/configure.in +++ b/configure.in @@ -927,9 +927,6 @@ fi if test "$with_python" = yes; then PGAC_PATH_PYTHON PGAC_CHECK_PYTHON_EMBED_SETUP - if test "$python_majorversion" -lt 3 -a "$python_minorversion" -lt 4; then - AC_MSG_ERROR([Python version $python_version is too old (version 2.4 or later is required)]) - fi fi if test "$cross_compiling" = yes && test -z "$with_system_tzdata"; then |