diff options
author | Denis Krjuchkov <denis@crazydev.net> | 2013-01-03 19:59:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 19:59:41 +0100 |
commit | 0f1a180e155af52e5842d416cfce0b9141e42a3d (patch) | |
tree | 29f0f635f178e9e16d33fc092e974839616d856f /m4 | |
parent | 01a45a53aa93977903cf467ccd54c16956b50bdb (diff) | |
download | mpd-0f1a180e155af52e5842d416cfce0b9141e42a3d.tar.gz mpd-0f1a180e155af52e5842d416cfce0b9141e42a3d.tar.xz mpd-0f1a180e155af52e5842d416cfce0b9141e42a3d.zip |
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.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/mpd_auto.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/mpd_auto.m4 b/m4/mpd_auto.m4 index 23713d5b7..122c2588d 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]) |