X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=configure.ac;h=6d073c6cd5fc41098a7428bde472506820bacac3;hb=refs%2Fchanges%2F63%2F3663%2F8;hp=aca3abe50ece0a8df62f408efabd158d87539a09;hpb=d2a701808ecace355dfe72f6d6414fb8c9aa2070;p=ric-plt%2Fsdl.git diff --git a/configure.ac b/configure.ac index aca3abe..6d073c6 100644 --- a/configure.ac +++ b/configure.ac @@ -10,8 +10,8 @@ # Change the numbers just before release. m4_define([SDL_MAJOR], [1]) -m4_define([SDL_MINOR], [0]) -m4_define([SDL_MICRO], [3]) +m4_define([SDL_MINOR], [1]) +m4_define([SDL_MICRO], [0]) # SDL ABI version with libtool # @@ -27,15 +27,17 @@ m4_define([SDL_MICRO], [3]) # # Change the numbers just before release. -m4_define([SDL_CURRENT], [1]) -m4_define([SDL_REVISION], [3]) -m4_define([SDL_AGE], [0]) +m4_define([SDL_CURRENT], [2]) +m4_define([SDL_REVISION], [5]) +m4_define([SDL_AGE], [1]) AC_INIT([shareddatalayer], [SDL_MAJOR.SDL_MINOR.SDL_MICRO], [], [], [https://gerrit.o-ran-sc.org/r/admin/repos/ric-plt/sdl]) AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Doxyfile]) +AC_CONFIG_FILES([rpm/sdl.spec]) +AC_CONFIG_FILES([debian/changelog]) AC_CONFIG_FILES([run-tests.sh], [chmod +x run-tests.sh]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([subdir-objects foreign 1.13 tar-pax -Wall -Werror]) @@ -70,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)