Module: check_mk
Branch: master
Commit: dde26bd7be1ac179ce939dd9ffe3dcdec37ab77d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dde26bd7be1ac1…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Feb 16 10:12:07 2018 +0100
Emit C++/regex info into cmc.log.
Change-Id: Icf2fd2214e97a0d7348214365dd49ebe10910447
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 4665ff2..c406118 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,7 @@ if test "x$ac_cv_prog_cc_c99" = xno; then
AC_MSG_ERROR([Need a C99-compliant C compiler])
fi
AC_PROG_CXX([g++-7 clang++-5.0 g++ clang++])
+AC_DEFINE_UNQUOTED([BUILD_CXX], ["`$CXX --version | head -n1`"], [C++
compiler])
AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
AC_PROG_RANLIB
# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it. :-P