[Libreoffice-commits] core.git: configure.ac

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Sun Apr 7 12:55:07 UTC 2019


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c51b68ddd9381b6b2ddfd8ab03c8420914a95d55
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Thu Apr 4 15:05:44 2019 +0200
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Sun Apr 7 14:54:40 2019 +0200

    clang version in configure output without spaces
    
    Call me pedantic.
    
    Change-Id: I96b8b7ef511508da0df75589475eaf13d639a7c9
    Reviewed-on: https://gerrit.libreoffice.org/70365
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

diff --git a/configure.ac b/configure.ac
index befe75bbac3a..457511f063c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3636,7 +3636,7 @@ if test "$COM_IS_CLANG" = TRUE; then
         else
             my_args="-E -P"
         fi
-        clang_version=`echo __clang_major__.__clang_minor__.__clang_patchlevel__ | $CC_PLAIN $my_args -`
+        clang_version=`echo __clang_major__.__clang_minor__.__clang_patchlevel__ | $CC_PLAIN $my_args - | sed 's/ //g'`
         CLANGVER=`echo $clang_version \
             | $AWK -F. '{ print \$1*10000+(\$2<100?\$2:99)*100+(\$3<100?\$3:99) }'`
         if test "$CLANGVER" -ge 50002; then


More information about the Libreoffice-commits mailing list