]> git.lyx.org Git - lyx.git/blobdiff - configure.ac
Allow InsetPreview in no math preview mode.
[lyx.git] / configure.ac
index cebba7b271a849ac2a8ba1ab1bd1e12165176732..c8fac2fca0823ac36a831519406963caa8c58cf2 100644 (file)
@@ -1,8 +1,8 @@
 dnl Process with autoconf to generate configure script   -*- sh -*-
 
-AC_INIT(LyX,2.0.0alpha2,[lyx-devel@lists.lyx.org],[lyx])
+AC_INIT(LyX,2.0.0svn,[lyx-devel@lists.lyx.org],[lyx])
 # Use ISO format only. The frontend needs to parse this
-AC_SUBST(LYX_DATE, ["2010-04-15"])
+AC_SUBST(LYX_DATE, ["2010-09-15"])
 AC_PREREQ(2.52)
 AC_CONFIG_SRCDIR(src/main.cpp)
 AC_CONFIG_HEADERS([config.h])
@@ -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