Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d435dcdc
Commit
d435dcdc
authored
Dec 04, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: make GLib optional by default
Only very few (minor) features still depend on GLib.
parent
e5ab456d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
INSTALL
INSTALL
+0
-3
NEWS
NEWS
+1
-0
configure.ac
configure.ac
+11
-5
No files found.
INSTALL
View file @
d435dcdc
...
...
@@ -18,9 +18,6 @@ Any other C++11 compliant compiler should also work.
Boost 1.46 - http://www.boost.org/
GLib 2.28 - http://www.gtk.org/
General-purpose utility library.
Optional Output Dependencies
----------------------------
...
...
NEWS
View file @
d435dcdc
...
...
@@ -10,6 +10,7 @@ ver 0.20 (not yet released)
* mixer
- null: new plugin
* reset song priority on playback
* remove dependency on GLib
ver 0.19.5 (2014/11/26)
* input
...
...
configure.ac
View file @
d435dcdc
...
...
@@ -518,13 +518,18 @@ AM_CONDITIONAL(HAVE_ICU, test x$enable_icu = xyes)
AC_ARG_ENABLE(glib,
AS_HELP_STRING([--enable-glib],
[enable GLib
usage (default: enabled
)]),,
enable_glib=
yes
)
[enable GLib
(default: auto
)]),,
enable_glib=
auto
)
if test x$enable_glib = xyes; then
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28 gthread-2.0],,
[AC_MSG_ERROR([GLib 2.28 is required])])
if test x$enable_glib != xno; then
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28 gthread-2.0],
[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'`
...
...
@@ -532,6 +537,7 @@ if test x$enable_glib = xyes; then
AC_DEFINE(HAVE_GLIB, 1, [Define if GLib is used])
fi
AM_CONDITIONAL(HAVE_GLIB, test x$enable_glib = xyes)
dnl ---------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment