config_query_option AVFS_OPTS "Compile avfs as a shared or static library?" y \
                              "--enable-library" \
                              "--disable-library" &&

config_query_option AVFS_OPTS "Compile the preloaded library and server?" n \
                              "--enable-preload" \
                              "--disable-preload" &&

config_query_option AVFS_OPTS "Compile in debug information?" n \
                              "--enable-debug" \
                              "--disable-debug" &&

# dav support is broken
message "${MESSAGE_COLOR}Dav module is incompatible with modern libraries, disabling it...${DEFAULT_COLOR}" &&
list_add "AVFS_OPTS" "--disable-dav" &&
#config_query_option AVFS_OPTS "Compile the dav module?" n \
#                              "--enable-dav" \
#                              "--disable-dav" &&

config_query_option AVFS_OPTS "Compile avfscoda daemon and kernel module?" n \
                              "--enable-avfscoda" \
                              "--disable-avfscoda"
