--- parser3/configure.ac 2016/12/23 16:29:27 1.9 +++ parser3/configure.ac 2017/02/26 21:39:44 1.16 @@ -1,10 +1,10 @@ dnl Autoconf initialisation AC_PREREQ(2.59) -AC_INIT(parser, 3.4.5b) +AC_INIT(parser, 3.4.5) AC_CONFIG_SRCDIR(README) -dnl Automake Initialisation +dnl Automake Initialization AM_INIT_AUTOMAKE @@ -61,10 +61,10 @@ 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 -W -Wall -Wstrict-prototypes -Wmissing-prototypes" + CXXFLAGS="$CXXFLAGS -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], AC_MSG_WARN(enabling gcov support) CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'` CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O[0-9]*//g'` @@ -73,10 +73,10 @@ AC_ARG_WITH(coverage, [ --with-coverage LDFLAGS="$LDFLAGS -lgcov" ) -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) - CFLAGS="$CFLAGS -pg" - CXXFLAGS="$CXXFLAGS -pg" + CFLAGS="$CFLAGS -O0 -pg" + CXXFLAGS="$CXXFLAGS -O0 -pg" ) AC_ARG_WITH(assertions, [ --with-assertions to enable assertions],