X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=17a463af5a6771ac076a95746ff31d4988875b6a;hb=46d23449027eea9a270d79f83ee368fa8712db10;hp=eace28557a8c5ae818b9dcdb98a266f71b928868;hpb=e02f0a0babeb43d21ebbd2496631cac59a1bcba0;p=lyx.git diff --git a/configure.ac b/configure.ac index eace28557a..17a463af5a 100644 --- a/configure.ac +++ b/configure.ac @@ -276,6 +276,10 @@ AH_BOTTOM([ /************************************************************ ** You should not need to change anything beyond this point */ +#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) +#define LYX_USE_CXX11 +#endif + #ifndef HAVE_STRERROR #if defined(__cplusplus) extern "C"