Don't use bashism/kshism of test ==. From Kamil Rytarowski.
[oota-llvm.git] / configure
index c895057ab07d82a5c8dedc508a2e0c1b1e179e71..5b15d122c07dcbc48ad838c3cfb58573d62dd174 100755 (executable)
--- a/configure
+++ b/configure
@@ -2033,7 +2033,7 @@ echo "$as_me: error: Already configured in ${srcdir}" >&2;}
   fi
 fi
 
-if test ${srcdir} == "." ; then
+if test ${srcdir} = "." ; then
   { { echo "$as_me:$LINENO: error: In-source builds are not allowed. Please configure from a separate build directory!" >&5
 echo "$as_me: error: In-source builds are not allowed. Please configure from a separate build directory!" >&2;}
    { (exit 1); exit 1; }; }