explicitly fail with --enable-compiler-plugins if compiler is not clang

Change-Id: I7c21730486f74b44b7c1189c40105f5d1a96f754
This commit is contained in:
Luboš Luňák 2012-10-09 22:56:16 +02:00
parent 7ef1190c3e
commit 8e610f6148

View file

@ -5059,6 +5059,10 @@ if test "$COM_GCC_IS_CLANG" = "TRUE"; then
CPPFLAGS=$save_CPPFLAGS
AC_LANG_POP([C++])
fi
else
if test "$enable_compiler_plugins" = "yes"; then
AC_MSG_ERROR([Compiler plugins are currently supported only with the Clang compiler.])
fi
fi
AC_SUBST(COMPILER_PLUGINS)