m4: require c++1z support

This commit is contained in:
Danny Robson 2015-08-10 15:43:41 +10:00
parent a4b3d1b460
commit 840b930e8d

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++1y])]
[AC_ERROR([Unable to enable c++1z])]
)
AX_APPEND_COMPILE_FLAGS([-pipe], [], [-Werror])