configure.ac: improve detection of libgme

At least in my configuration libgme lacks .pc file
thus could not be detected with pkg-config.
This commit is contained in:
Denis Krjuchkov 2013-01-09 14:35:25 +06:00
parent 23b2b7144b
commit 78f4171a7a

View File

@ -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