1
0
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:
Peter Eisentraut
2009-10-14 21:59:15 +00:00
parent ea2467d78b
commit de7ee9e2e9
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -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; }