configure: Fix string equality

This commit is contained in:
Brian Anderson 2016-11-21 22:10:51 +00:00
parent 80a95e34fe
commit 295148862a

2
configure vendored
View File

@ -856,7 +856,7 @@ probe_need CFG_CMAKE cmake
if [ -n "$CFG_ANTLR4" ]
then
CFG_ANTLR4_JAR="\"$(find /usr/ -name antlr-complete.jar 2>/dev/null | head -n 1)\""
if [ "x" -eq "x$CFG_ANTLR4_JAR" ]
if [ "x" = "x$CFG_ANTLR4_JAR" ]
then
CFG_ANTLR4_JAR="\"$(find ~ -name antlr-complete.jar 2>/dev/null | head -n 1)\""
fi