diff options
author | Max Kellermann <max@duempel.org> | 2009-10-13 16:12:43 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-13 16:12:43 +0200 |
commit | 4390d72b141304b8dfcdb374b428d3b4fae56237 (patch) | |
tree | a7c2132c621c04a1a7494a39b97489900e128539 /src/cmdline.c | |
parent | 2bf740fc71438edcb2c89e722ee8c83beb560128 (diff) | |
download | mpd-4390d72b141304b8dfcdb374b428d3b4fae56237.tar.gz mpd-4390d72b141304b8dfcdb374b428d3b4fae56237.tar.xz mpd-4390d72b141304b8dfcdb374b428d3b4fae56237.zip |
configure.ac: require GLib 2.16
Accidently, MPD has been using several GLib 2.16 functions for a
while, and nobody noticed yet. To simplify the code base, let's bump
the minimum GLib version for MPD to 2.16. That version is old enough,
and it's reasonable to expect users to have it.
Diffstat (limited to 'src/cmdline.c')
-rw-r--r-- | src/cmdline.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cmdline.c b/src/cmdline.c index 9e3919152..5dd6b26d6 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -77,10 +77,8 @@ static void version(void) exit(EXIT_SUCCESS); } -#if GLIB_CHECK_VERSION(2,12,0) static const char *summary = "Music Player Daemon - a daemon for playing music."; -#endif bool parse_cmdline(int argc, char **argv, struct options *options, @@ -118,9 +116,7 @@ parse_cmdline(int argc, char **argv, struct options *options, context = g_option_context_new("[path/to/mpd.conf]"); g_option_context_add_main_entries(context, entries, NULL); -#if GLIB_CHECK_VERSION(2,12,0) g_option_context_set_summary(context, summary); -#endif ret = g_option_context_parse(context, &argc, &argv, &error); g_option_context_free(context); |