From c51b68ddd9381b6b2ddfd8ab03c8420914a95d55 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Thu, 4 Apr 2019 15:05:44 +0200 Subject: clang version in configure output without spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Call me pedantic. Change-Id: I96b8b7ef511508da0df75589475eaf13d639a7c9 Reviewed-on: https://gerrit.libreoffice.org/70365 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit