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.
This commit is contained in:

committed by
Max Kellermann

parent
01a45a53aa
commit
0f1a180e15
@@ -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])
|
||||||
|
Reference in New Issue
Block a user