[llvm-commits] [llvm] r171108 - in /llvm/trunk: autoconf/configure.ac configure
Benjamin Kramer
benny.kra at googlemail.com
Wed Dec 26 02:48:49 PST 2012
Author: d0k
Date: Wed Dec 26 04:48:49 2012
New Revision: 171108
URL: http://llvm.org/viewvc/llvm-project?rev=171108&view=rev
Log:
Fix quoting in configure. Patch by Krzysztof Parzyszek!
Modified:
llvm/trunk/autoconf/configure.ac
llvm/trunk/configure
Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=171108&r1=171107&r2=171108&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Wed Dec 26 04:48:49 2012
@@ -511,10 +511,10 @@
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])
Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=171108&r1=171107&r2=171108&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Wed Dec 26 04:48:49 2012
@@ -5106,12 +5106,12 @@
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; }; }
More information about the llvm-commits
mailing list