]> git.lyx.org Git - lyx.git/blobdiff - lib/configure
Use contains() instead of strchr().
[lyx.git] / lib / configure
index 08f5e40edc0f635bbacb429bf2e7fcecf1e7e7ba..faf849c877ae5579edb49f91d9d49170470237d9 100755 (executable)
@@ -367,8 +367,8 @@ if test -z "$word_to_latex_command" ; then
   word_to_latex_command=none
 fi
 
-test $word_to_latex_command = "wvCleanLatex" && word_to_latex_command="wvCleanLatex \$\$i \$\$o"
-test $word_to_latex_command = "word2x" && word_to_latex_command="word2x -f latex \$\$i"
+test "$word_to_latex_command" = "wvCleanLatex" && word_to_latex_command="wvCleanLatex \$\$i \$\$o"
+test "$word_to_latex_command" = "word2x" && word_to_latex_command="word2x -f latex \$\$i"
 
 echo $ac_n "checking for Image converter""... $ac_c"
 echo "$ac_t""(convert)"