mirror of
https://github.com/nasa/trick.git
synced 2024-12-30 09:58:53 +00:00
11 lines
311 B
Plaintext
11 lines
311 B
Plaintext
|
|
||
|
|
||
|
AC_DEFUN([TR_CLANG_VERSION], [
|
||
|
CLANG_VERSION=""
|
||
|
ax_cv_clang_version="`$CLANG --version | grep "version" | sed "s/.*version \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/"`"
|
||
|
AS_IF([test "x$ax_cv_clang_version" = "x"],[
|
||
|
ax_cv_clang_version=""
|
||
|
])
|
||
|
CLANG_VERSION=$ax_cv_clang_version
|
||
|
AC_SUBST([CLANG_VERSION])
|
||
|
])
|