diff --git a/configure.ac b/configure.ac index 5f7cad1..078c7b4 100644 --- a/configure.ac +++ b/configure.ac @@ -63,7 +63,7 @@ PKG_CHECK_MODULES([LIBNFC], [libnfc >= $LIBNFC_REQUIRED_VERSION], [], [AC_MSG_ER PKG_CONFIG_REQUIRES="libnfc" AC_SUBST([PKG_CONFIG_REQUIRES]) -CUTTER_REQUIRED_VERSION=1.1.2 +CUTTER_REQUIRED_VERSION=1.1.7 m4_ifdef([AC_CHECK_CUTTER], [AC_CHECK_CUTTER([>= $CUTTER_REQUIRED_VERSION])], [ac_cv_use_cutter="no"]) if test x$ac_cv_with_cutter = xyes -a x$ac_cv_use_cutter = xno; then AC_MSG_ERROR([cutter >= $CUTTER_REQUIRED_VERSION is mandatory.]) @@ -72,7 +72,7 @@ AM_CONDITIONAL([WITH_CUTTER], [test "$ac_cv_use_cutter" != "no"]) m4_ifdef([AC_CHECK_COVERAGE], [AC_CHECK_COVERAGE]) -if test x$ac_cv_enable_coverage = xyes; then +if test x$cutter_enable_coverage = xyes; then CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage" fi