summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-08-20 10:42:30 +0200
committerGravatar Martin Szulecki2010-10-04 00:35:00 +0200
commitee07a8bedd9694a42d188a30ac81fe0c74daff69 (patch)
tree1b834dbe65507a07fc1f9c7f38d158a87821ddda
parente5ec41f50ec05eaea1804b879baa09e92f687a96 (diff)
downloadlibimobiledevice-ee07a8bedd9694a42d188a30ac81fe0c74daff69.tar.gz
libimobiledevice-ee07a8bedd9694a42d188a30ac81fe0c74daff69.tar.bz2
m4: Fix comparison bug in python macros
Reports say it fixes FreeBSD detection.
-rw-r--r--m4/ac_python_devel.m42
1 files changed, 1 insertions, 1 deletions
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