--- parser3/configure.ac 2023/12/12 20:02:04 1.55 +++ parser3/configure.ac 2025/01/10 19:38:46 1.67 @@ -1,6 +1,6 @@ dnl Autoconf initialization AC_PREREQ(2.59) -AC_INIT(parser, 3.4.7b) +AC_INIT(parser, 3.5.1) AC_CONFIG_SRCDIR(README) @@ -61,7 +61,7 @@ AC_SUBST(dll_extension) dnl Misc arguments AC_ARG_WITH(build-warnings, [ --with-build-warnings to enable build-time compiler warnings if gcc is used], AC_MSG_WARN(enabling compiler warnings) - CXXFLAGS="$CXXFLAGS -Wextra -Wall -Wno-parentheses" + CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-parentheses" ) AC_ARG_WITH(coverage, [ --with-coverage to enable gcov code coverage support], @@ -445,8 +445,8 @@ AC_CHECK_LIB(crypt, crypt) dnl Checks for functions -AC_CHECK_FUNCS(flock _locking fcntl lockf ftruncate fchmod) -AC_CHECK_FUNCS(getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv) +AC_CHECK_FUNCS(flock fcntl lockf ftruncate fchmod) +AC_CHECK_FUNCS(getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv syslog) dnl on some linux[seen on 2.4] it's a macro