# remove obsolete options
list_remove MPD_OPTS "--enable-mvp" &&
list_remove MPD_OPTS "--disable-mvp" &&
list_remove MPD_OPTS "--enable-oggflac" &&
list_remove MPD_OPTS "--disable-oggflac" &&

config_query_option MPD_OPTS "Enable IPv6 support?" y \
                             "--enable-ipv6" \
                             "--disable-ipv6" &&

config_query_option MPD_OPTS "Enable writing to a FIFO?" y \
                             "--enable-fifo" \
                             "--disable-fifo" &&

config_query_option MPD_OPTS "Enable support for clients connecting via TCP?" y \
                             "--enable-tcp" \
                             "--disable-tcp" &&

config_query_option MPD_OPTS "Enable support for clients connecting via unix domain sockets?" y \
                             "--enable-un" \
                             "--disable-un" &&

config_query_option MPD_OPTS "Enable writing to a pipe?" n \
                             "--enable-pipe-output" \
                             "--disable-pipe-output" &&

config_query_option MPD_OPTS "Enable HTTP server output?" y \
                             "--enable-httpd-output" \
                             "--disable-httpd-output" &&

config_query_option MPD_OPTS "Enable recorder file output plugin?" n \
                             "--enable-recorder-output" \
                             "--disable-recorder-output" &&

config_query_option MPD_OPTS "Enable support for Inotify automatic database update?" y \
                             "--enable-inotify" \
                             "--disable-inotify" &&

config_query_option MPD_OPTS "Enable debugging?" n \
                             "--enable-debug" \
                             "--disable-debug"
