X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=config%2Flyxinclude.m4;h=c43ae99d8020080158f5592536421f9624263409;hb=e307944d18afe743c4c26dee2dc281c490617800;hp=bb7910a2307b3e967c974b9dd1f93be6a51a6e96;hpb=e8655e9a70a60dfd9952016bac36b9edc6bbcf32;p=lyx.git diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index bb7910a230..c43ae99d80 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -209,7 +209,7 @@ AC_DEFUN([LYX_CXX_USE_REGEX], dnl in gcc is unusable in versions less than 4.9.0 dnl see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631 case $gxx_version in - 4.3*|4.4*|4.5*|4.6*|4.7*|4.8*) lyx_std_regex=no ;; + 4.6*|4.7*|4.8*) lyx_std_regex=no ;; *) ;; esac fi @@ -355,8 +355,8 @@ if test x$GXX = xyes; then AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra" fi case $gxx_version in - 2.*|3.*) AC_ERROR([gcc >= 4.3 is required]);; - 4.0*|4.1*|4.2*) AC_ERROR([gcc >= 4.3 is required]);; + 2.*|3.*) AC_ERROR([gcc >= 4.6 is required]);; + 4.0*|4.1*|4.2*|4.3*|4.4*|4.5*) AC_ERROR([gcc >= 4.6 is required]);; esac if test x$enable_stdlib_debug = xyes ; then dnl FIXME: for clang/libc++, one should define _LIBCPP_DEBUG2=0 @@ -370,7 +370,7 @@ if test x$GXX = xyes; then esac fi case $gxx_version in - 4.3*|4.4*|4.5*|4.6*) + 4.6*) dnl Note that this will define __GXX_EXPERIMENTAL_CXX0X__. dnl The source code relies on that. cxx11_flags="-std=c++0x";;