llvm.org GIT mirror llvm / 3e7f1a9
Autoconf: The Clang ARC migrator now depends on the static analyzer. I don't actually have a version of autoconf so I edited configure directly as well. It's copy-pasted so I think there was little margin for error. See also Clang-side dependency graph changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189026 91177308-0d34-0410-b5e6-96231b3b80d8 Jordan Rose 6 years ago
2 changed file(s) with 14 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
550550 enableval="yes")
551551 case "$enableval" in
552552 yes) AC_SUBST(ENABLE_CLANG_STATIC_ANALYZER,[1]) ;;
553 no) AC_SUBST(ENABLE_CLANG_STATIC_ANALYZER,[0]) ;;
553 no)
554 if test ${clang_arcmt} != "no" ; then
555 AC_MSG_ERROR([Cannot enable clang ARC Migration Tool while disabling static analyzer.])
556 fi
557 AC_SUBST(ENABLE_CLANG_STATIC_ANALYZER,[0])
558 ;;
554559 default) AC_SUBST(ENABLE_CLANG_STATIC_ANALYZER,[1]);;
555560 *) AC_MSG_ERROR([Invalid setting for --enable-clang-static-analyzer. Use "yes" or "no"]) ;;
556561 esac
52235223 case "$enableval" in
52245224 yes) ENABLE_CLANG_STATIC_ANALYZER=1
52255225 ;;
5226 no) ENABLE_CLANG_STATIC_ANALYZER=0
5227 ;;
5226 no)
5227 if test ${clang_arcmt} != "no" ; then
5228 { { echo "$as_me:$LINENO: error: Cannot enable clang ARC Migration Tool while disabling static analyzer." >&5
5229 echo "$as_me: error: Cannot enable clang ARC Migration Tool while disabling static analyzer." >&2;}
5230 { (exit 1); exit 1; }; }
5231 fi
5232 ENABLE_CLANG_STATIC_ANALYZER=0
5233 ;;
52285234 default) ENABLE_CLANG_STATIC_ANALYZER=1
52295235 ;;
52305236 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-clang-static-analyzer. Use \"yes\" or \"no\"" >&5