|
|
| version 1.59, 2024/11/04 18:17:44 | version 1.66, 2025/01/10 19:38:34 |
|---|---|
| Line 1 | Line 1 |
| dnl Autoconf initialization | dnl Autoconf initialization |
| AC_PREREQ(2.59) | AC_PREREQ(2.59) |
| AC_INIT(parser, 3.4.7b) | AC_INIT(parser, 3.5.1) |
| AC_CONFIG_SRCDIR(README) | AC_CONFIG_SRCDIR(README) |
| Line 61 AC_SUBST(dll_extension) | Line 61 AC_SUBST(dll_extension) |
| dnl Misc arguments | dnl Misc arguments |
| AC_ARG_WITH(build-warnings, [ --with-build-warnings to enable build-time compiler warnings if gcc is used], | AC_ARG_WITH(build-warnings, [ --with-build-warnings to enable build-time compiler warnings if gcc is used], |
| AC_MSG_WARN(enabling compiler warnings) | 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], | AC_ARG_WITH(coverage, [ --with-coverage to enable gcov code coverage support], |
| Line 446 AC_CHECK_LIB(crypt, crypt) | Line 446 AC_CHECK_LIB(crypt, crypt) |
| dnl Checks for functions | dnl Checks for functions |
| AC_CHECK_FUNCS(flock fcntl lockf ftruncate fchmod) | 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 | dnl on some linux[seen on 2.4] it's a macro |