mandatory c++

This commit is contained in:
janko33bd
2017-06-12 22:39:29 +02:00
parent 45667420d0
commit 4bb7bcff90
2 changed files with 570 additions and 1 deletions

View File

@@ -47,7 +47,8 @@ case $host in
lt_cv_deplibs_check_method="pass_all"
;;
esac
dnl Require C++11 compiler (no GNU extensions)
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory], [nodefault])
dnl Unless the user specified OBJCXX, force it to be the same as CXX. This ensures
dnl that we get the same -std flags for both.
m4_ifdef([AC_PROG_OBJCXX],[