Skip to content
Snippets Groups Projects
Commit f47096bd authored by Karel Slaný's avatar Karel Slaný
Browse files

Fixed compilation of knotc.

When configured with daemon enabled and utils disabled then the sources
were compiled but the executable has not been built.
parent 3dd9595b
No related branches found
No related tags found
No related merge requests found
......@@ -425,7 +425,7 @@ AS_IF([test "$enable_rosedb" = yes], [AC_DEFINE([HAVE_ROSEDB], [1], [Define to 1
AM_CONDITIONAL([HAVE_ROSEDB], [test "$enable_rosedb" = yes])
# libedit
AS_IF([test "$enable_daemon" = "yes"],[
AS_IF([test "$enable_utilities" = "yes"],[
# daemon enabled
PKG_CHECK_MODULES([libedit], [libedit], [with_libedit=yes], [
with_libedit=no
......@@ -447,7 +447,7 @@ AS_IF([test "$enable_daemon" = "yes"],[
AC_MSG_ERROR([libedit not found])
])
],[
# daemon disabled
# utilities disabled
with_libedit=no
libedit_CFLAGS=
libedit_LIBS=
......
......@@ -200,7 +200,10 @@ endif
if HAVE_DAEMON
sbin_PROGRAMS = knotc knotd
sbin_PROGRAMS = knotd
if HAVE_UTILS
sbin_PROGRAMS += knotc
endif #HAVE_UTILS
libexec_PROGRAMS = knot1to2
noinst_LTLIBRARIES += libknotd.la
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment