1 AC_INIT([redismodule], [0.0.0], [], [], [https://gerrit.oran-osc.org/r/#/admin/projects/ric-plt/dbaas])
2 AC_CONFIG_AUX_DIR([build-aux])
3 AC_CONFIG_MACRO_DIRS([m4])
4 AC_CONFIG_HEADERS([config.h])
7 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects tar-pax])
9 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
10 LT_INIT([disable-static])
12 # Checks for programs.
18 AC_ARG_ENABLE([unit-test],
19 [--disable-unit-test], [Disable unit tests]
22 AS_IF([test x"$enable_unit_test" != x"no"],
24 PKG_CHECK_MODULES([LIBCPPUTEST],[cpputest])
25 AM_CONDITIONAL([UNIT_TEST_ENABLED], [true])
28 AM_CONDITIONAL([UNIT_TEST_ENABLED], [false])
32 AC_ARG_ENABLE([unit-test-memcheck],
33 [AS_HELP_STRING([--disable-unit-test-memcheck], [Do not run unit tests with valgrind])]
36 AS_IF([test x"$enable_unit_test_memcheck" != x"no"],
38 AC_CHECK_PROG(VALGRIND_CHECK, valgrind, yes)
39 AM_CONDITIONAL([UNIT_TEST_MEMCHECK_ENABLED], [true])
42 AM_CONDITIONAL([UNIT_TEST_MEMCHECK_ENABLED], [false])
47 # Checks for header files.
49 # Checks for typedefs, structures, and compiler characteristics.
52 AC_CONFIG_FILES([Makefile])