configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a0f35cd270fa486deb75e1c2c0516d55723cd04a
Author:     Luboš Luňák <l.lu...@centrum.cz>
AuthorDate: Mon Sep 20 00:26:29 2021 +0000
Commit:     Luboš Luňák <l.lu...@collabora.com>
CommitDate: Tue Nov 16 13:00:02 2021 +0100

    hard-require Clang for Skia also on Mac
    
    Since Skia is now the default on Mac too. Clang on Mac should
    be the given, but check for consistency.
    
    Change-Id: I490d5434374d98b1d7a219c2bca48747e31eecac
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122337
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lu...@collabora.com>

diff --git a/configure.ac b/configure.ac
index f0a4b641edab..4ef19213c15d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12048,10 +12048,10 @@ if test "$ENABLE_SKIA" = TRUE -a "$COM_IS_CLANG" != 
TRUE; then
         fi
     fi
     if test -z "$LO_CLANG_CC" -o -z "$LO_CLANG_CXX"; then
-        # Skia is the default on Windows, so hard-require Clang.
+        # Skia is the default on Windows and Mac, so hard-require Clang.
         # Elsewhere it's used just by the 'gen' VCL backend which is rarely 
used.
-        if test "$_os" = "WINNT"; then
-            AC_MSG_ERROR([Clang compiler not found. The Skia library needs to 
be built using Clang.])
+        if test "$_os" = "WINNT" -o "$_os" = "Darwin"; then
+            AC_MSG_ERROR([Clang compiler not found. The Skia library needs to 
be built using Clang, or use --disable-skia.])
         else
             AC_MSG_WARN([Clang compiler not found.])
         fi

Reply via email to