From 0f1a180e155af52e5842d416cfce0b9141e42a3d Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Thu, 3 Jan 2013 19:59:41 +0100 Subject: 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. --- m4/mpd_auto.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/mpd_auto.m4 b/m4/mpd_auto.m4 index 23713d5b..122c2588 100644 --- a/m4/mpd_auto.m4 +++ b/m4/mpd_auto.m4 @@ -73,7 +73,8 @@ AC_DEFUN([MPD_AUTO_PKG_LIB], [ [eval "found_$1=yes"], AC_CHECK_LIB($4, $5, [eval "found_$1=yes $2_LIBS='$6' $2_CFLAGS='$7'"], - [eval "found_$1=no"])) + [eval "found_$1=no"], + [$6])) fi MPD_AUTO_RESULT([$1], [$8], [$9]) -- cgit v1.2.3