config_query_option UNBOUND_OPTS "Build only libunbound library (excluding daemon and tool programs)?" n \
                                 "--with-libunbound-only" \
                                 "--without-libunbound-only" &&

config_query_option UNBOUND_OPTS "Enable ECDSA support?" y \
                                 "--enable-ecdsa" \
                                 "--disable-ecdsa" &&

config_query_option UNBOUND_OPTS "Enable SHA256 and SHA512 RRSIG support?" y \
                                 "--enable-sha2" \
                                 "--disable-sha2" &&

config_query_option UNBOUND_OPTS "Enable threading support?" y \
                                 "--with-pthreads" \
                                 "--without-pthreads" &&

message "${MESSAGE_COLOR}WARNING: GOST support requires OpenSSL 1.0${DEFAULT_COLOR}" &&

config_query_list UNBOUND_SSL "Which backend do you want for SSL support?" \
                              openssl-1.0 \
                              libressl \
                              nss
