Reverse the 'if' condition and reduce the indentation.
[oota-llvm.git] / configure
index 5a23fc4a56321cf9db4ad3e5d80180cd9eb5a2d3..75cb5a4517dea5c9938336ce1dba35ab3004fc8b 100755 (executable)
--- a/configure
+++ b/configure
@@ -5106,12 +5106,12 @@ case "$enableval" in
   yes) ENABLE_CLANG_REWRITER=1
  ;;
   no)
-    if test clang_arcmt != "no" ; then
+    if test ${clang_arcmt} != "no" ; then
       { { echo "$as_me:$LINENO: error: Cannot enable clang ARC Migration Tool while disabling rewriter." >&5
 echo "$as_me: error: Cannot enable clang ARC Migration Tool while disabling rewriter." >&2;}
    { (exit 1); exit 1; }; }
     fi
-    if test clang_static_analyzer != "no" ; then
+    if test ${clang_static_analyzer} != "no" ; then
       { { echo "$as_me:$LINENO: error: Cannot enable clang static analyzer while disabling rewriter." >&5
 echo "$as_me: error: Cannot enable clang static analyzer while disabling rewriter." >&2;}
    { (exit 1); exit 1; }; }