diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-08-22 15:49:53 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-08-22 15:49:53 +0000 |
commit | 23fc6f34c379f5ba20dcb9b07c46b04ec72c0f0a (patch) | |
tree | 7501c655c500d64401579c8c2375c3e2efd7080a /llvm/autoconf | |
parent | c48b9594b63020880151fc6a0d8c480ce740b922 (diff) | |
download | bcm5719-llvm-23fc6f34c379f5ba20dcb9b07c46b04ec72c0f0a.tar.gz bcm5719-llvm-23fc6f34c379f5ba20dcb9b07c46b04ec72c0f0a.zip |
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.
llvm-svn: 189026
Diffstat (limited to 'llvm/autoconf')
-rw-r--r-- | llvm/autoconf/configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 31edd35792b..993e41ced96 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -551,7 +551,12 @@ AC_ARG_ENABLE(clang-static-analyzer, enableval="yes") case "$enableval" in yes) AC_SUBST(ENABLE_CLANG_STATIC_ANALYZER,[1]) ;; - no) AC_SUBST(ENABLE_CLANG_STATIC_ANALYZER,[0]) ;; + no) + if test ${clang_arcmt} != "no" ; then + AC_MSG_ERROR([Cannot enable clang ARC Migration Tool while disabling static analyzer.]) + fi + AC_SUBST(ENABLE_CLANG_STATIC_ANALYZER,[0]) + ;; default) AC_SUBST(ENABLE_CLANG_STATIC_ANALYZER,[1]);; *) AC_MSG_ERROR([Invalid setting for --enable-clang-static-analyzer. Use "yes" or "no"]) ;; esac |