m4/nc_cxx: use newer AC_MSG_ERROR

This commit is contained in:
Danny Robson 2016-05-09 14:04:58 +10:00
parent 27800de3a0
commit 50f61eb682

View File

@ -2,7 +2,7 @@ AC_DEFUN([NC_CXX],[
AX_CHECK_COMPILE_FLAG(
[-std=c++1z],
[AX_APPEND_FLAG([-std=c++1z], [CXXFLAGS])],
[AC_ERROR([Unable to enable c++1z])]
[AC_MSG_ERROR([Unable to enable c++1z])]
)
AX_APPEND_COMPILE_FLAGS([-pipe], [], [-Werror])