configure.ac: remove GLib option

Not used anymore.
This commit is contained in:
Max Kellermann
2015-06-27 16:06:28 +02:00
parent 6f7bfa71a9
commit ccdb94b06c
5 changed files with 25 additions and 85 deletions

View File

@@ -482,28 +482,6 @@ if test x$enable_iconv = xyes; then
AC_CHECK_FUNCS(iconv)
fi
AC_ARG_ENABLE(glib,
AS_HELP_STRING([--enable-glib],
[enable GLib (default: auto)]),,
enable_glib=auto)
if test x$enable_glib != xno; then
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.32],
[found_glib=yes],
[found_glib=no])
MPD_AUTO_RESULT([glib], [Glib], [GLib not found])
fi
if test x$enable_glib = xyes; then
if test x$GCC = xyes; then
# suppress warnings in the GLib headers
GLIB_CFLAGS=`echo $GLIB_CFLAGS |sed -e 's,-I/,-isystem /,g'`
fi
fi
MPD_DEFINE_CONDITIONAL(enable_glib, HAVE_GLIB, [GLib])
dnl ---------------------------------------------------------------------------
dnl Protocol Options
dnl ---------------------------------------------------------------------------