Commit f01918f5 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

build: s/GCOVING/ENABLE_COVERAGE/

parent 842c7e70
......@@ -514,7 +514,7 @@ void VCL_TaskLeave(VRT_CTX, struct vrt_privs *);
void VMOD_Init(void);
void VMOD_Panic(struct vsb *);
#if defined(GCOVING) || defined(__SANITIZER)
#if defined(ENABLE_COVERAGE) || defined(__SANITIZER)
# define DONT_DLCLOSE_VMODS
#endif
......
......@@ -688,7 +688,7 @@ MCF_InitParams(struct cli *cli)
low = sysconf(_SC_THREAD_STACK_MIN);
MCF_ParamConf(MCF_MINIMUM, "thread_pool_stack", "%jdb", (intmax_t)low);
#if defined(__SANITIZER) || __has_feature(address_sanitizer) || defined(GCOVING)
#if defined(__SANITIZER) || __has_feature(address_sanitizer) || defined(ENABLE_COVERAGE)
def = 192 * 1024;
#endif
......
......@@ -784,7 +784,7 @@ AC_ARG_ENABLE(debugging-symbols,
[enable_debugging_symbols=no])
if test "$enable_coverage" != no; then
AC_DEFINE([GCOVING], [1], [Define to 1 if code coverage is enabled.])
AC_DEFINE([ENABLE_COVERAGE], [1], [Define to 1 if code coverage is enabled.])
save_CFLAGS=$CFLAGS
CFLAGS=
AX_CHECK_COMPILE_FLAG([--coverage],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment