aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoconf/configure.ac4
-rwxr-xr-xconfigure4
2 files changed, 4 insertions, 4 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 0395931659..08e7f32142 100644
--- a/autoconf/configure.ac
+++ b/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/configure b/configure
index 5a23fc4a56..75cb5a4517 100755
--- 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; }; }