aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-01-09 14:35:25 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-01-09 14:35:25 +0600
commit78f4171a7ac923d2bf9be6b42ee9b1909ab59e86 (patch)
tree7808d94ef1e803c5b05f0c8a7e5cae1acff2fcec
parent23b2b7144bd4115592b2d0d14f54650fd799ec29 (diff)
downloadmpd-78f4171a7ac923d2bf9be6b42ee9b1909ab59e86.tar.gz
mpd-78f4171a7ac923d2bf9be6b42ee9b1909ab59e86.tar.xz
mpd-78f4171a7ac923d2bf9be6b42ee9b1909ab59e86.zip
configure.ac: improve detection of libgme
At least in my configuration libgme lacks .pc file thus could not be detected with pkg-config.
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9a495b663..05f288822 100644
--- a/configure.ac
+++ b/configure.ac
@@ -853,7 +853,7 @@ fi
AM_CONDITIONAL(ENABLE_FLUIDSYNTH, test x$enable_fluidsynth = xyes)
dnl ---------------------------------- libgme ---------------------------------
-MPD_AUTO_PKG(gme, GME, [libgme],
+MPD_AUTO_PKG_LIB(gme, GME, [libgme], gme, gme_open_file, [-lgme -lstdc++], [],
[gme decoder plugin], [libgme not found])
AM_CONDITIONAL(HAVE_GME, test x$enable_gme = xyes)
if test x$enable_gme = xyes; then