From ee07a8bedd9694a42d188a30ac81fe0c74daff69 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 20 Aug 2010 10:42:30 +0200 Subject: m4: Fix comparison bug in python macros Reports say it fixes FreeBSD detection. --- m4/ac_python_devel.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/ac_python_devel.m4 b/m4/ac_python_devel.m4 index 7cec10f..99ff7d0 100644 --- a/m4/ac_python_devel.m4 +++ b/m4/ac_python_devel.m4 @@ -172,7 +172,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 -- cgit v1.1-32-gdbae