Skip to content

Commit

Permalink
m4/nut_check_libavahi.m4: fix detection of SOFILE/SOPATH - we need on…
Browse files Browse the repository at this point in the history
…ly the client library [networkupstools#2431]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Jul 6, 2024
1 parent 4543557 commit 74bbe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/nut_check_libavahi.m4
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if test -z "${nut_have_avahi_seen}"; then
dnl Help ltdl if we can (nut-scanner etc.)
for TOKEN in $LIBS ; do
AS_CASE(["${TOKEN}"],
[-l*avahi*], [
[-l*avahi*client*], [
AX_REALPATH_LIB([${TOKEN}], [SOPATH_LIBAVAHI], [])
AS_IF([test -n "${SOPATH_LIBAVAHI}" && test -s "${SOPATH_LIBAVAHI}"], [
AC_DEFINE_UNQUOTED([SOPATH_LIBAVAHI],["${SOPATH_LIBAVAHI}"],[Path to dynamic library on build system])
Expand Down

0 comments on commit 74bbe37

Please sign in to comment.