diff options
author | Max Kellermann <max@duempel.org> | 2009-11-10 21:14:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-10 21:14:22 +0100 |
commit | b722d3d7f365b106794a3f40435ab220098959c5 (patch) | |
tree | fc539d0aa20b0357547ced148cc88f18f648d7fe /src/main.c | |
parent | de57c21a3bec43bffb3fc6a85197f5489e18168f (diff) | |
download | mpd-b722d3d7f365b106794a3f40435ab220098959c5.tar.gz mpd-b722d3d7f365b106794a3f40435ab220098959c5.tar.xz mpd-b722d3d7f365b106794a3f40435ab220098959c5.zip |
configure.ac: require GLib 2.12
Drop the required GLib version from 2.16 to 2.12, because many current
systems still don't have GLib 2.16. This requires several new
compatibility functions in glib_compat.h.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 70166fefb..2c970ba0a 100644 --- a/src/main.c +++ b/src/main.c @@ -111,8 +111,10 @@ glue_mapper_init(void) const char *music_dir, *playlist_dir; music_dir = config_get_path(CONF_MUSIC_DIR); +#if GLIB_CHECK_VERSION(2,14,0) if (music_dir == NULL) music_dir = g_get_user_special_dir(G_USER_DIRECTORY_MUSIC); +#endif playlist_dir = config_get_path(CONF_PLAYLIST_DIR); |