summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-09 22:56:16 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-09 22:58:39 +0200
commit8e610f6148c89d931d264b81fb1f5736e45c8a93 (patch)
tree334e6273b66e2de3303f4ef2ce08234331072dbd
parent7ef1190c3e9422998d89df2cf8fcf30bddfc1a03 (diff)
explicitly fail with --enable-compiler-plugins if compiler is not clang
Change-Id: I7c21730486f74b44b7c1189c40105f5d1a96f754
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 8b29eb30d755..29e4d92ec078 100644
--- a/configure.in
+++ b/configure.in
@@ -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)