1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r26534: configure: using == in shell scripts isn't portable

Thanks to Björn Jacke <bj@sernet.de> for reporting this.

metze
(This used to be commit 1d5d970830)
This commit is contained in:
Stefan Metzmacher
2007-12-19 11:34:36 +01:00
parent 9d71dba42e
commit 5ed08ebac3

View File

@ -65,7 +65,7 @@ if test -z "$PYTHON_LDFLAGS"; then
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