aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorQball Cow <qball@sarine.nl>2008-12-27 10:07:46 +0100
committerQball Cow <qball@sarine.nl>2008-12-27 10:07:46 +0100
commit0e7c67067b11e2db06bfc6a05798559a7e44a25f (patch)
treea904da4f86b242e445323ef1c7f9db6eb5f68e55 /configure.ac
parent571b789dd0f8910fa7aab532620724eba4dc9880 (diff)
downloadmpd-0e7c67067b11e2db06bfc6a05798559a7e44a25f.tar.gz
mpd-0e7c67067b11e2db06bfc6a05798559a7e44a25f.tar.xz
mpd-0e7c67067b11e2db06bfc6a05798559a7e44a25f.zip
Check for pkg-config before using it
Diffstat (limited to '')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index dc9d60509..b5dfbbd77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -272,6 +272,9 @@ AC_CHECK_LIB(nsl,gethostbyname,MPD_LIBS="$MPD_LIBS -lnsl",)
AC_CHECK_LIB(m,exp,MPD_LIBS="$MPD_LIBS -lm",)
AC_CHECK_FUNCS(setenv)
+# Check for pkg-config before using it
+PKG_PROG_PKG_CONFIG
+
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.4 gthread-2.0],,
[AC_MSG_ERROR([glib-2.4 is required])])