--- parser3/configure.ac 2024/12/08 00:49:50 1.61 +++ parser3/configure.ac 2025/01/10 19:38:34 1.66 @@ -1,6 +1,6 @@ dnl Autoconf initialization AC_PREREQ(2.59) -AC_INIT(parser, 3.5.0rc) +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], @@ -446,7 +446,7 @@ AC_CHECK_LIB(crypt, crypt) dnl Checks for functions AC_CHECK_FUNCS(flock fcntl lockf ftruncate fchmod) -AC_CHECK_FUNCS(getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv) +AC_CHECK_FUNCS(getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv syslog) dnl on some linux[seen on 2.4] it's a macro