]> git.lyx.org Git - lyx.git/blobdiff - configure.ac
InsetBox.cpp: only shaded boxes can have a non-plain layout when there is no inner box
[lyx.git] / configure.ac
index 8f56125a560484ee34639f59e1050915d5820cba..30694a6bbbe3dd0d71029ad32a07f966a7c3f21f 100644 (file)
@@ -289,6 +289,13 @@ 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 __GNUC__ == 4 
+#    define LYX_USE_TR1
+#  endif
+#endif
+
 #ifdef __CYGWIN__
 #  define NOMINMAX
 #  define BOOST_POSIX 1