From c09fcc890feadcbdca4308a12c99d4f7092ff735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Wed, 30 Jun 2010 13:50:40 +0000 Subject: [PATCH] TR1: also use tr1-regex when using msvc10 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34732 a592a061-630c-0410-9148-cb99ea01b6c8 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index a087bd2de8..65227ab915 100644 --- a/configure.ac +++ b/configure.ac @@ -289,9 +289,11 @@ 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 +# define LYX_USE_TR1_REGEX # endif # if __GNUC__ == 4 && __GNUC_MINOR__ >= 4 # define LYX_USE_TR1