if conf.env.build_winexe == True:
bld.SAMBAMANPAGES(winexe_manpages)
- if bld.CONFIG_SET('WITH_PROMETHEUS_EXPORTER'):
+ if bld.CONFIG_SET('HAVE_EVHTTP_NEW') and bld.CONFIG_SET('WITH_PROFILE'):
bld.SAMBAMANPAGES(prometheus_manpages)
if bld.CONFIG_SET('ENABLE_SELFTEST'):
"script/tests/test_old_dirlisting.sh"),
timelimit, smbclient3])
-with_prometheus_exporter = ("WITH_PROMETHEUS_EXPORTER" in config_hash)
+with_prometheus_exporter = ("HAVE_EVHTTP_NEW" and "WITH_PROFILE" in config_hash)
for env in ["fileserver:local"]:
plantestsuite("samba3.blackbox.net_usershare", env, [os.path.join(samba3srcdir, "script/tests/test_net_usershare.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', smbclient3])
Logs.info("Checking for libevent existence")
if conf.CHECK_HEADERS('event2/http.h') and conf.CHECK_LIB('event', shlib=True):
conf.CHECK_FUNCS_IN('evhttp_new', 'event')
- conf.DEFINE('WITH_PROMETHEUS_EXPORTER', 1)
if not conf.CONFIG_SET('HAVE_EVHTTP_NEW'):
conf.fatal("libevent support not found. "
"Try installing libevent-dev or libevent-devel. "