X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=6d073c6cd5fc41098a7428bde472506820bacac3;hb=931b2b0f50e4446a705d2238274914f78b681b6d;hp=f725e1bab989a8f7ba26bf1c4a0b5b21cfde1a93;hpb=91a224f190867869d2d0b14a5f96e44a0593e682;p=ric-plt%2Fsdl.git diff --git a/configure.ac b/configure.ac index f725e1b..6d073c6 100644 --- a/configure.ac +++ b/configure.ac @@ -72,6 +72,23 @@ AM_CONDITIONAL([HIREDIS], [test xtrue]) AC_DEFINE(HAVE_HIREDIS_VIP, [0], [Have hiredis-vip]) AM_CONDITIONAL([HIREDIS_VIP], [test "xyes" = "xno"]) +AC_ARG_WITH([gcov-report-dir], + AS_HELP_STRING([--with-gcov-report-dir=DIR], + [Directory for GCOV report files]), + [], + [with_gcov_report_dir=no]) +AC_MSG_CHECKING([gcov]) +if test "x$with_gcov_report_dir" = "xno"; then + AC_MSG_RESULT([no]) + GCOV_REPORT_DIR="gcov_report" +else + AC_MSG_RESULT([yes]) + AC_MSG_NOTICE([gcov report directory: $with_gcov_report_dir]) + GCOV_REPORT_DIR="$with_gcov_report_dir" +fi +AC_SUBST(GCOV_REPORT_DIR) +AM_CONDITIONAL([ENABLE_GCOV],[test "x$with_gcov_report_dir" != "xno"]) + DX_DOT_FEATURE(ON) DX_INIT_DOXYGEN([shareddatalayer], [Doxyfile], [doxygen-doc]) SDL_LT_VERSION=m4_format("%d:%d:%d", SDL_CURRENT, SDL_REVISION, SDL_AGE)