[Libreoffice-commits] .: configure.in

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 9 13:59:05 PDT 2012


 configure.in |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 8e610f6148c89d931d264b81fb1f5736e45c8a93
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Oct 9 22:56:16 2012 +0200

    explicitly fail with --enable-compiler-plugins if compiler is not clang
    
    Change-Id: I7c21730486f74b44b7c1189c40105f5d1a96f754

diff --git a/configure.in b/configure.in
index 8b29eb3..29e4d92 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)
 


More information about the Libreoffice-commits mailing list