m4: Always extract major version number in CXX -dumpversion.

This commit is contained in:
Jason Volk 2022-07-25 14:06:42 -07:00
parent 2056047944
commit 0afb5bf847
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ AC_DEFUN([AX_CXX_EPOCH],
[
AM_COND_IF(GCC,
[
ax_cv_cxx_epoch="`$CXX -dumpversion`"
ax_cv_cxx_epoch="`$CXX -dumpversion | cut -d'.' -f1`"
])
AM_COND_IF(CLANG,