diff options
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 9bebdaa529..dd6fc86015 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -641,6 +641,20 @@ case "$enableval" in *) AC_MSG_ERROR([Invalid setting for --enable-clang-arcmt. Use "yes" or "no"]) ;; esac +dnl --enable-clang-plugin-support: check whether to enable plugins in clang +clang_plugin_support="yes" +AC_ARG_ENABLE(clang-plugin-support, + AS_HELP_STRING([--enable-clang-plugin-support], + [Enable plugin support in clang (default is YES)]), + clang_plugin_support="$enableval", + enableval="yes") +case "$enableval" in + yes) AC_SUBST(CLANG_PLUGIN_SUPPORT,[1]) ;; + no) AC_SUBST(CLANG_PLUGIN_SUPPORT,[0]) ;; + default) AC_SUBST(CLANG_PLUGIN_SUPPORT,[1]);; + *) AC_MSG_ERROR([Invalid setting for --enable-clang-plugin-support. Use "yes" or "no"]) ;; +esac + dnl --enable-clang-static-analyzer: check whether to enable static-analyzer clang_static_analyzer="yes" AC_ARG_ENABLE(clang-static-analyzer, |