X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=cc7b1128c56e59a50e3633abaacecc56763cf599;hb=fc4324b07c7d0b69048e6b1f0f82af4e38690983;hp=65227ab91544c4115bcd45b821ba7ffea199066f;hpb=c09fcc890feadcbdca4308a12c99d4f7092ff735;p=lyx.git diff --git a/configure.ac b/configure.ac index 65227ab915..cc7b1128c5 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Process with autoconf to generate configure script -*- sh -*- 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-06-15"]) +AC_SUBST(LYX_DATE, ["2011-01-10"]) AC_PREREQ(2.52) AC_CONFIG_SRCDIR(src/main.cpp) AC_CONFIG_HEADERS([config.h]) @@ -183,6 +183,8 @@ AC_TYPE_SIGNAL AC_TYPE_SIZE_T AC_TYPE_UID_T +LYX_CHECK_DEF(PATH_MAX, limits.h, [int n = PATH_MAX;]) + AC_CHECK_FUNCS(chmod close _close fork getpid _getpid lstat mkfifo open _open pclose _pclose popen _popen readlink strerror) # Check the form of mkdir() AC_FUNC_MKDIR @@ -220,7 +222,7 @@ real_pkgdatadir=`eval "echo \`eval \"echo \\\`eval \\\"echo ${pkgdatadir}\\\"\\\ real_localedir=`eval "echo \`eval \"echo ${datadir}/locale\"\`"` VERSION_INFO="Configuration\n\ Host type: ${host}\n\ - Special build flags: ${lyx_flags}\n\ + Special build flags: ${lyx_flags}\n\ C Compiler: ${CC} ${CC_VERSION}\n\ C Compiler LyX flags: ${AM_CPPFLAGS} ${AM_CFLAGS}\n\ C Compiler flags: ${CPPFLAGS} ${CFLAGS}\n\ @@ -291,11 +293,7 @@ char * strerror(int n); // 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 +# if __GNUC__ == 4 # define LYX_USE_TR1 # endif #endif