m4/nc_cxx: use newer AC_MSG_ERROR
This commit is contained in:
parent
27800de3a0
commit
50f61eb682
@ -2,7 +2,7 @@ AC_DEFUN([NC_CXX],[
|
|||||||
AX_CHECK_COMPILE_FLAG(
|
AX_CHECK_COMPILE_FLAG(
|
||||||
[-std=c++1z],
|
[-std=c++1z],
|
||||||
[AX_APPEND_FLAG([-std=c++1z], [CXXFLAGS])],
|
[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])
|
AX_APPEND_COMPILE_FLAGS([-pipe], [], [-Werror])
|
||||||
|
Loading…
Reference in New Issue
Block a user