Skip to content
Snippets Groups Projects
Commit aad71287 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

configure: fixed rosedb build when enabled

parent fc861445
Branches
Tags
No related merge requests found
......@@ -323,7 +323,7 @@ dnl Check for rosedb module
AC_ARG_ENABLE([rosedb],
AS_HELP_STRING([--disable-rosedb], [Do not enable static RR query module.]),
[], [enable_rosedb=no])
AM_CONDITIONAL([ENABLE_ROSEDB], [test "$enable_rosedb" = yes])
AM_CONDITIONAL([HAVE_ROSEDB], [test "$enable_rosedb" = yes])
AS_IF([test "$enable_rosedb" = yes], [AC_DEFINE([HAVE_ROSEDB], [1], [Define to 1 to enable static RR query module.])])
AC_SEARCH_LIBS([pow], [m])
......
......@@ -371,7 +371,7 @@ libknotd_la_LIBADD += dnstap/libdnstap.la
endif
# rose sources and client tool
if ENABLE_ROSEDB
if HAVE_ROSEDB
libknotd_la_SOURCES += \
knot/modules/rosedb.c \
knot/modules/rosedb.h
......
......@@ -6,7 +6,7 @@
/* Compiled-in module headers. */
#include "knot/modules/synth_record.h"
#include "knot/modules/dnsproxy.h"
#ifdef ENABLE_ROSEDB
#ifdef HAVE_ROSEDB
#include "knot/modules/rosedb.h"
#endif
#if USE_DNSTAP
......@@ -24,7 +24,7 @@ struct compiled_module {
struct compiled_module MODULES[] = {
{ "synth_record", &synth_record_load, &synth_record_unload },
{ "dnsproxy", &dnsproxy_load, &dnsproxy_unload },
#ifdef ENABLE_ROSEDB
#ifdef HAVE_ROSEDB
{ "rosedb", &rosedb_load, &rosedb_unload },
#endif
#if USE_DNSTAP
......
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