r26534: configure: using == in shell scripts isn't portable
authorStefan Metzmacher <metze@samba.org>
Wed, 19 Dec 2007 10:34:36 +0000 (11:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:51:55 +0000 (05:51 +0100)
Thanks to Björn Jacke <bj@sernet.de> for reporting this.

metze
(This used to be commit 1d5d97083029956fd1ce5eb2c0333052a46a334a)

source4/scripting/python/config.m4

index 8c4225175ef249a98f85e17d0191384f952ecaff..96e4da9add1f9798e645dea739fd75a5b5fb8515 100644 (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