Commit 8febc697 authored by Tristan Matthews's avatar Tristan Matthews

configure: enable C++11 with extensions by default

This allows for M_PI to be used if building with mingw.

Refs #60455

Change-Id: Ie92a5db2f4221e608d4beef35f5df6b6d46ae862
parent 500b7987
#include <speex/speex.h>
#include <cstdio>
#include <cmath>
int main()
{
const SpeexMode *mode = speex_lib_get_mode(SPEEX_MODEID_NB);
printf("Hello %s\n", mode->modeName);
printf("Hello %s %f\n", mode->modeName, M_PI);
return 0;
}
......@@ -115,7 +115,7 @@ DOLT
lt_cv_deplibs_check_method=pass_all
dnl Check for C++11 support
AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
AX_CXX_COMPILE_STDCXX_11([ext],[mandatory])
dnl Check for header files
AC_FUNC_ALLOCA
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment