X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=30694a6bbbe3dd0d71029ad32a07f966a7c3f21f;hb=07e8f2e1bcbe5f747efc1c27f11025b397847963;hp=a087bd2de8aa36547a7a0ad776edbd6f68c3e610;hpb=af928c503de3dbed4575bc26f0b2894a1d7b7eb7;p=lyx.git diff --git a/configure.ac b/configure.ac index a087bd2de8..30694a6bbb 100644 --- a/configure.ac +++ b/configure.ac @@ -289,11 +289,9 @@ char * strerror(int n); #define BOOST_NO_WREGEX 1 #define BOOST_NO_WSTRING 1 +// TR1 regex not supported in GCC <= 4.5 #ifndef LYX_USE_TR1 -# if defined(_MSC_VER) && (_MSC_VER >= 1600) -# define LYX_USE_TR1 -# endif -# if __GNUC__ == 4 && __GNUC_MINOR__ >= 4 +# if __GNUC__ == 4 # define LYX_USE_TR1 # endif #endif