config_query_option OPENDKIM_OPTS "Use poll() instead of select()?" n \
                                  "--enable-poll" \
                                  "--disable-poll" &&

config_query_option OPENDKIM_OPTS "Produce debugging binaries and libraries?" n \
                                  "--enable-debug" \
                                  "--disable-debug" &&

config_query_option OPENDKIM_OPTS "Export internal-use symbols for better test coverage?" n \
                                  "--enable-allsymbols" \
                                  "--disable-allsymbols" &&

config_query_option OPENDKIM_OPTS "Include code coverage/profiling code?" n \
                                  "--enable-codecoverage" \
                                  "--disable-codecoverage" &&

if list_find "$OPENDKIM_OPTS" "--enable-codecoverage"; then
  config_query_list OPENDKIM_PROFILING "Specify test coverage package:" \
                                       gcov \
                                       gprof
fi &&

config_query_option OPENDKIM_OPTS "Include library load paths in binaries?" n \
                                  "--enable-rpath" \
                                  "--disable-rpath" &&

config_query_option OPENDKIM_OPTS "Enable tests that require Internet access?" n \
                                  "--enable-live-testing" \
                                  "--disable-live-testing" &&

config_query_option OPENDKIM_OPTS "Enable experimental Authorized Third Party Signers checks?" n \
                                  "--enable-atps" \
                                  "--disable-atps" &&

config_query_option OPENDKIM_OPTS "Enable support for ADSP filtering for lists?" n \
                                  "--enable-adsp_lists" \
                                  "--disable-adsp_lists" &&

config_query_option OPENDKIM_OPTS "Enable experimental DKIM reputation checks?" n \
                                  "--enable-dkim_reputation" \
                                  "--disable-dkim_reputation" &&

config_query_option OPENDKIM_OPTS "Enable special header to set identity?" n \
                                  "--enable-identity_header" \
                                  "--disable-identity_header" &&

config_query_option OPENDKIM_OPTS "Enable support for DKIM-based rate limiting?" n \
                                  "--enable-rate_limit" \
                                  "--disable-rate_limit" &&

config_query_option OPENDKIM_OPTS "Enable support for string substitution when signing?" n \
                                  "--enable-replace_rules" \
                                  "--disable-replace_rules" &&

config_query_option OPENDKIM_OPTS "Enable support for redirecting failed verifications to a mailbox?" n \
                                  "--enable-redirect" \
                                  "--disable-redirect" &&

config_query_option OPENDKIM_OPTS "Enable support for one-step re-signing?" n \
                                  "--enable-resign" \
                                  "--disable-resign" &&

config_query_option OPENDKIM_OPTS "Enable macro to determine sender?" n \
                                  "--enable-sender_macro" \
                                  "--disable-sender_macro" &&

config_query_option OPENDKIM_OPTS "Enable Vouch-By-Reference support?" n \
                                  "--enable-vbr" \
                                  "--disable-vbr" &&

config_query_option OPENDKIM_OPTS "Enable default sender address?" n \
                                  "--enable-default_sender" \
                                  "--disable-default_sender"
