configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8a97da679bbccf81e73dc5d2e864b5f40adfc0eb
Author:     Luboš Luňák <l.lu...@centrum.cz>
AuthorDate: Thu Jul 21 17:01:38 2022 +0200
Commit:     Luboš Luňák <l.lu...@collabora.com>
CommitDate: Fri Jul 22 19:17:30 2022 +0200

    fix clang-cl check on WSL
    
    Change-Id: Id357ee8e27eb3e8b6f5f076350c43bb75e7d0683
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137348
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lu...@collabora.com>

diff --git a/configure.ac b/configure.ac
index f81492852b8c..33dc0fb96316 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12193,9 +12193,9 @@ if test "$ENABLE_SKIA" = TRUE -a "$COM_IS_CLANG" != 
TRUE; then
             AC_MSG_CHECKING([for clang-cl])
             if test -x "$VC_PRODUCT_DIR/Tools/Llvm/bin/clang-cl.exe"; then
                 LO_CLANG_CC=`win_short_path_for_make 
"$VC_PRODUCT_DIR/Tools/Llvm/bin/clang-cl.exe"`
-            elif test -n "$PROGRAMFILES" -a -x 
"$PROGRAMFILES/LLVM/bin/clang-cl.exe"; then
+            elif test -n "$PROGRAMFILES" -a -x "$(cygpath -u 
"$PROGRAMFILES/LLVM/bin/clang-cl.exe")"; then
                 LO_CLANG_CC=`win_short_path_for_make 
"$PROGRAMFILES/LLVM/bin/clang-cl.exe"`
-            elif test -x "c:/Program Files/LLVM/bin/clang-cl.exe"; then
+            elif test -x "$(cygpath -u "c:/Program 
Files/LLVM/bin/clang-cl.exe")"; then
                 LO_CLANG_CC=`win_short_path_for_make "c:/Program 
Files/LLVM/bin/clang-cl.exe"`
             fi
             if test -n "$LO_CLANG_CC"; then

Reply via email to