List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:December 11 2007 8:46pm
Subject:Rev 362: Fixed problem with detecting distutils when using python-dbg in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 362
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Tue 2007-12-11 18:45:40 -0200
message:
  Fixed problem with detecting distutils when using python-dbg
modified:
  m4/ac_python_devel.m4          ac_python_devel.m4-20071028000601-dtshci4bkh8dbeok-1
=== modified file 'm4/ac_python_devel.m4'
--- a/m4/ac_python_devel.m4	2007-11-25 23:22:57 +0000
+++ b/m4/ac_python_devel.m4	2007-12-11 20:45:40 +0000
@@ -54,8 +54,7 @@
         # Check if you have distutils, else fail
         #
         AC_MSG_CHECKING([for the distutils Python package])
-        ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
-        if test -z "$ac_distutils_result"; then
+        if $PYTHON -c "import distutils" >/dev/null 2>&1 ; then 
                 AC_MSG_RESULT([yes])
         else
                 AC_MSG_RESULT([no])

Thread
Rev 362: Fixed problem with detecting distutils when using python-dbg in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/develMonty Taylor11 Dec