From ffd432add542852a4e3bae3ae477369fed4e0147 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Jun 2015 20:35:27 +0300 Subject: Add configure option for enable gcc check plugin. New configure option: --enable-checkplugin --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fda56bbce..5c4223679 100755 --- a/configure.ac +++ b/configure.ac @@ -378,6 +378,17 @@ esac],[cilkplus_enabled=false]) AM_CONDITIONAL(ENABLE_CILKPLUS, test x$cilkplus_enabled = xtrue) +# Enable gcc check plugin +AC_ARG_ENABLE(checkplugin, +[ --enable-checkplugin Turn on gcc check plugin], +[case "${enableval}" in + yes) checkplugin_enabled=true ;; + no) checkplugin_enabled=false ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-checkplugin) ;; +esac],[checkplugin_enabled=false]) + +AM_CONDITIONAL(ENABLE_CHECKPLUGIN, test x$checkplugin_enabled = xtrue) + AC_CONFIG_FILES([ manaplus.spec Makefile -- cgit v1.2.3-70-g09d2