Skip to content

Commit

Permalink
configure.ac: apply comment for nut_with_libltdl=no vs. nut_with_nut_…
Browse files Browse the repository at this point in the history
…scanner=yes situation

Derived from commits 21d6242 and
9322e2e in the FTY branch.

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Jun 15, 2024
1 parent d456aa6 commit 4e68fcb
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 @@ -2291,6 +2291,8 @@ fi
NUT_REPORT_FEATURE([enable libltdl (Libtool dlopen abstraction) support], [${nut_with_libltdl}], [],
[WITH_LIBLTDL], [Define to enable libltdl (Libtool dlopen abstraction) support])

dnl Explicitly report if we are building nut-scanner or not
dnl since it requires libltdl
if test x"${nut_with_libltdl}" = x"no" && test x"${nut_with_nut_scanner}" = x"yes"; then
AC_MSG_ERROR([libltdl support was disabled or not found, but --with-nut-scanner was requested and requires it])
fi
Expand Down

0 comments on commit 4e68fcb

Please sign in to comment.