use GLib
GLib is a nice and portable utility library. We are going to use it from now on, and eliminate a lot of duplicated code from MPD. Why invent the wheel again and again?
This commit is contained in:
@@ -138,6 +138,8 @@ 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],,
|
||||
[AC_MSG_ERROR([glib-2.4 is required])])
|
||||
|
||||
dnl doesn't work for systems that don't have CODESET like OpenBSD
|
||||
dnl AC_CHECK_HEADER(langinfo.h,[enable_langinfo=yes;AC_DEFINE(HAVE_LANGINFO,1,[Define if nl_langinfo.h is present])],enable_langinfo=no)
|
||||
|
Reference in New Issue
Block a user