Skip to content

Commit

Permalink
configure: explicit dependency on lowdown library
Browse files Browse the repository at this point in the history
This dependency is used from quite a long time (now in libcmd) but
was not explicitly stated in the configure phase, possibly leading
to quite late build failures if that was not met (ie. building it
outside the .nix files provided). This MR adds it in the configure
phase so the failure is early and error is much more explicit.
  • Loading branch information
fedepell committed Sep 14, 2021
1 parent 4ed6673 commit e9dbba0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ AC_ARG_ENABLE(doc-gen, AS_HELP_STRING([--disable-doc-gen],[disable documentation
doc_generate=$enableval, doc_generate=yes)
AC_SUBST(doc_generate)

# Look for lowdown library.
PKG_CHECK_MODULES([LOWDOWN], [lowdown >= 0.8.0], [CXXFLAGS="$LOWDOWN_CFLAGS $CXXFLAGS"])

# Setuid installations.
AC_CHECK_FUNCS([setresuid setreuid lchown])
Expand Down

0 comments on commit e9dbba0

Please sign in to comment.