mirror of
https://github.com/matrix-construct/construct
synced 2024-12-04 12:42:53 +01:00
30 lines
521 B
Text
30 lines
521 B
Text
|
AC_SUBST([CXX_VERSION])
|
||
|
AC_DEFUN([AX_CXX_VERSION],
|
||
|
[
|
||
|
AC_CACHE_CHECK([cxx version], [ax_cv_cxx_version],
|
||
|
[
|
||
|
ax_cv_cxx_version="`$CXX -dumpfullversion`"
|
||
|
AS_IF([test "x$ax_cv_cxx_version" = "x"],
|
||
|
[
|
||
|
ax_cv_cxx_version=""
|
||
|
])
|
||
|
])
|
||
|
|
||
|
CXX_VERSION=$ax_cv_cxx_version
|
||
|
])
|
||
|
|
||
|
AC_SUBST([CXX_EPOCH])
|
||
|
AC_DEFUN([AX_CXX_EPOCH],
|
||
|
[
|
||
|
AC_CACHE_CHECK([cxx epoch], [ax_cv_cxx_epoch],
|
||
|
[
|
||
|
ax_cv_cxx_epoch="`$CXX -dumpversion`"
|
||
|
AS_IF([test "x$ax_cv_cxx_epoch" = "x"],
|
||
|
[
|
||
|
ax_cv_cxx_epoch=""
|
||
|
])
|
||
|
])
|
||
|
|
||
|
CXX_EPOCH=$ax_cv_cxx_epoch
|
||
|
])
|