mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 17:02:03 +00:00
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
This commit is contained in:
parent
355a09f268
commit
bd48077584
@ -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
|
||||
|
10
configure
vendored
10
configure
vendored
@ -5224,8 +5224,14 @@ fi
|
||||
case "$enableval" in
|
||||
yes) ENABLE_CLANG_STATIC_ANALYZER=1
|
||||
;;
|
||||
no) ENABLE_CLANG_STATIC_ANALYZER=0
|
||||
;;
|
||||
no)
|
||||
if test ${clang_arcmt} != "no" ; then
|
||||
{ { echo "$as_me:$LINENO: error: Cannot enable clang ARC Migration Tool while disabling static analyzer." >&5
|
||||
echo "$as_me: error: Cannot enable clang ARC Migration Tool while disabling static analyzer." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
ENABLE_CLANG_STATIC_ANALYZER=0
|
||||
;;
|
||||
default) ENABLE_CLANG_STATIC_ANALYZER=1
|
||||
;;
|
||||
*) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-clang-static-analyzer. Use \"yes\" or \"no\"" >&5
|
||||
|
Loading…
Reference in New Issue
Block a user