mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 05:07:54 +00:00
17 lines
436 B
Plaintext
17 lines
436 B
Plaintext
|
|
||
|
|
||
|
AC_DEFUN([TR_GCC_VERSION], [
|
||
|
GCC_VERSION=""
|
||
|
AS_IF([test "x$GCC" = "xyes"],[
|
||
|
AS_IF([test "x$ax_gcc_version_option" != "xno"],[
|
||
|
AC_CACHE_CHECK([gcc version],[ax_cv_gcc_version],[
|
||
|
ax_cv_gcc_version="`$CC -dumpfullversion -dumpversion`"
|
||
|
AS_IF([test "x$ax_cv_gcc_version" = "x"],[
|
||
|
ax_cv_gcc_version=""
|
||
|
])
|
||
|
])
|
||
|
GCC_VERSION=$ax_cv_gcc_version
|
||
|
])
|
||
|
])
|
||
|
AC_SUBST([GCC_VERSION])
|
||
|
])
|