diff --git a/mex/build/matlab/configure.ac b/mex/build/matlab/configure.ac index af230f92434866e0650d3c4f538f7df0401bb7a5..b3cad08c57f8a920750ebb8a4af8a66e2b925953 100644 --- a/mex/build/matlab/configure.ac +++ b/mex/build/matlab/configure.ac @@ -47,6 +47,9 @@ case ${host_os} in AC_MSG_WARN([not run from MATLAB, because it cannot load the Cygwin DLL.]) AC_MSG_WARN([This is probably not what you want. Consider using a MinGW cross-compiler.]) ;; + *darwin13*) + CXXFLAGS="$CXXFLAGS -std=c++11" + ;; esac CFLAGS="$CFLAGS -Wall -Wno-parentheses"