Skip to content

Commit

Permalink
Bug 110 - portability fix for autoconf macro
Browse files Browse the repository at this point in the history
  • Loading branch information
obache authored and Sandro Santilli committed Feb 15, 2011
1 parent 63a408b commit 8a4bfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/python.m4
Expand Up @@ -176,7 +176,7 @@ $ac_distutils_result])
py_version=`$PYTHON -c "from distutils.sysconfig import *; \
from string import join; \
print join(get_config_vars('VERSION'))"`
if test "$py_version" == "[None]"; then
if test "$py_version" = "[None]"; then
if test -n "$PYTHON_VERSION"; then
py_version=$PYTHON_VERSION
else
Expand Down

0 comments on commit 8a4bfda

Please sign in to comment.