]> git.sesse.net Git - mlt/commitdiff
Patch from Michael Forney to fix swig configure.
authorDan Dennedy <dan@dennedy.org>
Sat, 5 Sep 2009 22:34:01 +0000 (15:34 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 5 Sep 2009 22:34:01 +0000 (15:34 -0700)
If configure is run with --swig-languages="lang1 lang2", it complains
because it is compared to "all" without any quotes.

Signed-off-by: Dan Dennedy <dan@dennedy.org>
src/swig/configure

index c3ecd2444d9e0f2d21e4d4f0d86fc8732aa7a370..6aa25d5ccfa7cb64ad242d661be8fc98fd3e85a9 100755 (executable)
@@ -22,7 +22,7 @@ else
                        --swig-languages=* ) languages=${i#--swig-languages=}
                                which swig > /dev/null 2>&1
                                [ $? != 0 ] && echo "Please install swig" && exit 1
-                               [ $languages = "all" ] && languages="java lua perl php python ruby tcl"
+                               [ "$languages" = "all" ] && languages="java lua perl php python ruby tcl"
                                echo SUBDIRS = ${i#--swig-languages=} > config.mak ;;
                esac
        done