aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/python.m44
-rwxr-xr-xconfigure2
2 files changed, 3 insertions, 3 deletions
diff --git a/config/python.m4 b/config/python.m4
index 24805c4b6ce..a3d66435fbd 100644
--- a/config/python.m4
+++ b/config/python.m4
@@ -1,7 +1,7 @@
#
# Autoconf macros for configuring the build of Python extension modules
#
-# $PostgreSQL: pgsql/config/python.m4,v 1.15 2009/01/04 00:54:15 petere Exp $
+# $PostgreSQL: pgsql/config/python.m4,v 1.16 2009/10/14 21:59:15 petere Exp $
#
# PGAC_PATH_PYTHON
@@ -22,7 +22,7 @@ fi
AC_DEFUN([_PGAC_CHECK_PYTHON_DIRS],
[AC_REQUIRE([PGAC_PATH_PYTHON])
AC_MSG_CHECKING([for Python distutils module])
-if "${PYTHON}" 2>&- -c 'import distutils'
+if "${PYTHON}" -c 'import distutils' 2>&AS_MESSAGE_LOG_FD
then
AC_MSG_RESULT(yes)
else
diff --git a/configure b/configure
index 3ccb687d5d3..c70e66fd1c0 100755
--- a/configure
+++ b/configure
@@ -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; }