Fix quoting in configure. Patch by Krzysztof Parzyszek!
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 26 Dec 2012 10:48:49 +0000 (10:48 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 26 Dec 2012 10:48:49 +0000 (10:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171108 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 03959316599b92ed61b7b3a35f8f2dea842685bd..08e7f32142a879668ac80cbaebedccf4d828b0b9 100644 (file)
@@ -511,10 +511,10 @@ AC_ARG_ENABLE(clang-rewriter,
 case "$enableval" in
   yes) AC_SUBST(ENABLE_CLANG_REWRITER,[1]) ;;
   no)  
-    if test clang_arcmt != "no" ; then
+    if test ${clang_arcmt} != "no" ; then
       AC_MSG_ERROR([Cannot enable clang ARC Migration Tool while disabling rewriter.])
     fi
-    if test clang_static_analyzer != "no" ; then
+    if test ${clang_static_analyzer} != "no" ; then
       AC_MSG_ERROR([Cannot enable clang static analyzer while disabling rewriter.])
     fi
     AC_SUBST(ENABLE_CLANG_REWRITER,[0]) 
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; }; }