aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-05 18:21:49 +0100
committerMax Kellermann <max@duempel.org>2008-11-05 18:21:49 +0100
commit259c6ed1642cd6cc0e5cb8bfcfdeed93150b2e99 (patch)
tree1e7a63afa637b45fb97aa2ffd1a4816246387820 /configure.ac
parent06f9b6c379db39fc7676df05d40b20c833b63632 (diff)
downloadmpd-259c6ed1642cd6cc0e5cb8bfcfdeed93150b2e99.tar.gz
mpd-259c6ed1642cd6cc0e5cb8bfcfdeed93150b2e99.tar.xz
mpd-259c6ed1642cd6cc0e5cb8bfcfdeed93150b2e99.zip
enable GLib threading
Call g_thread_init() from main() to enable the GLib features which make it thread safe.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bc12d0900..8678e6f98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -274,7 +274,7 @@ AC_CHECK_LIB(nsl,gethostbyname,MPD_LIBS="$MPD_LIBS -lnsl",)
AC_CHECK_LIB(m,exp,MPD_LIBS="$MPD_LIBS -lm",)
AC_CHECK_FUNCS(setenv)
-PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.4],,
+PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.4 gthread-2.0],,
[AC_MSG_ERROR([glib-2.4 is required])])
dnl doesn't work for systems that don't have CODESET like OpenBSD