diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-26 10:48:49 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-26 10:48:49 +0000 |
| commit | d14720dced196de23445fdfa574f7a6f57c84465 (patch) | |
| tree | b6c417297b8d43f86ee9a1af3127e9cc5e625241 /llvm | |
| parent | 35cc75876a78042fcb952b5e06fdfcecaab9a434 (diff) | |
| download | bcm5719-llvm-d14720dced196de23445fdfa574f7a6f57c84465.tar.gz bcm5719-llvm-d14720dced196de23445fdfa574f7a6f57c84465.zip | |
Fix quoting in configure. Patch by Krzysztof Parzyszek!
llvm-svn: 171108
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/autoconf/configure.ac | 4 | ||||
| -rwxr-xr-x | llvm/configure | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 03959316599..08e7f32142a 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -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]) diff --git a/llvm/configure b/llvm/configure index 5a23fc4a563..75cb5a4517d 100755 --- a/llvm/configure +++ b/llvm/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; }; } |

