X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=2f7680d105bdf043219b927a74347eac92a227db;hb=b8dfb6ad26abad340b91e9582052565b35f492d7;hp=6a762a68f9659f68dd0c2f84441fa0dfb71c24c7;hpb=effec36e9a48a029df9f75430d5d2a3cfcada83c;p=lyx.git diff --git a/configure.ac b/configure.ac index 6a762a68f9..2f7680d105 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, ["2010-09-15"]) 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 @@ -291,7 +293,7 @@ char * strerror(int n); // TR1 regex not supported in GCC <= 4.5 #ifndef LYX_USE_TR1 -# if __GNUC__ == 4 && __GNUC_MINOR__ >= 4 +# if __GNUC__ == 4 # define LYX_USE_TR1 # endif #endif