mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
In the configure check for the Python distutils module, use a less obscure
shell construct to hide away the stderr output. Python 3.1 actually core dumps on the current invocation (http://bugs.python.org/issue7111), but the new version also has the more general advantage of saving the error message in config.log for analysis.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@ -7011,7 +7011,7 @@ fi
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: checking for Python distutils module" >&5
|
||||
$as_echo_n "checking for Python distutils module... " >&6; }
|
||||
if "${PYTHON}" 2>&- -c 'import distutils'
|
||||
if "${PYTHON}" -c 'import distutils' 2>&5
|
||||
then
|
||||
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
Reference in New Issue
Block a user