Commit 0f1a180e authored by Denis Krjuchkov's avatar Denis Krjuchkov Committed by Max Kellermann

mpd_auto.m4: Pass libraries to AC_CHECK_LIB in MPD_AUTO_PKG_LIB

Rationale: vanilla libid3tag does not have any pkg-config stuff and fails to detect because symbols from libz are not found.
parent 01a45a53
...@@ -73,7 +73,8 @@ AC_DEFUN([MPD_AUTO_PKG_LIB], [ ...@@ -73,7 +73,8 @@ AC_DEFUN([MPD_AUTO_PKG_LIB], [
[eval "found_$1=yes"], [eval "found_$1=yes"],
AC_CHECK_LIB($4, $5, AC_CHECK_LIB($4, $5,
[eval "found_$1=yes $2_LIBS='$6' $2_CFLAGS='$7'"], [eval "found_$1=yes $2_LIBS='$6' $2_CFLAGS='$7'"],
[eval "found_$1=no"])) [eval "found_$1=no"],
[$6]))
fi fi
MPD_AUTO_RESULT([$1], [$8], [$9]) MPD_AUTO_RESULT([$1], [$8], [$9])
......
Markdown is supported
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