|
|
| version 1.16, 2017/02/26 21:39:44 | version 1.24, 2018/10/15 15:40:04 |
|---|---|
| Line 1 | Line 1 |
| dnl Autoconf initialisation | dnl Autoconf initialisation |
| AC_PREREQ(2.59) | AC_PREREQ(2.59) |
| AC_INIT(parser, 3.4.5) | AC_INIT(parser, 3.4.6b) |
| AC_CONFIG_SRCDIR(README) | AC_CONFIG_SRCDIR(README) |
| Line 75 AC_ARG_WITH(coverage, [ --with-coverage | Line 75 AC_ARG_WITH(coverage, [ --with-coverage |
| AC_ARG_WITH(profiler, [ --with-profiler to enable gprof code profiler support], | AC_ARG_WITH(profiler, [ --with-profiler to enable gprof code profiler support], |
| AC_MSG_WARN(enabling gprof support) | AC_MSG_WARN(enabling gprof support) |
| CFLAGS="$CFLAGS -O0 -pg" | CFLAGS="$CFLAGS -O0 -pg -g" |
| CXXFLAGS="$CXXFLAGS -O0 -pg" | CXXFLAGS="$CXXFLAGS -O0 -pg -g" |
| ) | ) |
| AC_ARG_WITH(assertions, [ --with-assertions to enable assertions], | AC_ARG_WITH(assertions, [ --with-assertions to enable assertions], |
| Line 182 AC_ARG_WITH(pcre,[ --with-pcre=D | Line 182 AC_ARG_WITH(pcre,[ --with-pcre=D |
| if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then | if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then |
| PCRE_OK="yes" | PCRE_OK="yes" |
| else | else |
| PCRE_LIBS="-L$PCRE -lpcre" | PCRE_LIBS="-L$PCRE/lib -lpcre" |
| fi | fi |
| if test "$PCRE" = "yes"; then | if test "$PCRE" = "yes"; then |
| Line 231 AC_ARG_WITH(xml,[ --with-xml=D | Line 231 AC_ARG_WITH(xml,[ --with-xml=D |
| AC_MSG_WARN([--with-xml value was not specified, hoping linker would find it]) | AC_MSG_WARN([--with-xml value was not specified, hoping linker would find it]) |
| else | else |
| XML_INCLUDES="-I$XML/include -I$XML/include/libxml2" | XML_INCLUDES="-I$XML/include -I$XML/include/libxml2" |
| XML_LIBS="-L$XML/lib $XML_LIBS" | |
| if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \ | if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \ |
| -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then | -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then |
| Line 421 PA_CHECK_SIGSETJMP | Line 422 PA_CHECK_SIGSETJMP |
| dnl see comment above | dnl see comment above |
| AC_LANG_PUSH(C++) | AC_LANG_PUSH(C++) |
| PA_CHECK_MATH_FUNCS_ONE_ARG(trunc round sign) | PA_CHECK_MATH_FUNCS_ONE_ARG(trunc round sign isfinite) |
| AC_LANG_POP | AC_LANG_POP |