list_remove DILLO_OPTS "--enable-anti-alias" "--disable-anti-alias" &&
if [[ $DILLO_TABS ]] ||
   [[ $DILLO_AA ]] ||
   [[ $DILLO_IPV6 ]] ||
   [[ $DILLO_RTFL ]] ||
   [[ $DILLO_COOKIES ]] ||
   [[ $DILLO_METAREF ]] ||
   [[ $DILLO_NLS ]]
then
   #Save old vars
   DILLO_OPTS="$DILLO_TABS $DILLO_IPV6 $DILLO_RTFL \
               $DILLO_COOKIES $DILLO_METAREF $DILLO_NLS"
   #remove old vars
   persistent_remove DILLO_TABS DILLO_AA DILLO_IPV6 DILLO_RTFL     \
   DILLO_COOKIES DILLO_METAREF DILLO_NLS
fi                                                                 &&
config_query_option DILLO_OPTS                                     \
                    "Threaded DNS support?"                        \
                    y                                              \
                    "--enable-threaded-dns"                        \
                    "--disable-threaded-dns"                       &&
if [[ "$I18NPATCH" == "y" ]]
then
  config_query_option DILLO_OPTS                                   \
                      "Tab support"                                \
                      y                                            \
                      "--enable-tabs"                              \
                      "--disable-tabs"
fi                                                                 &&
config_query_option DILLO_OPTS                                     \
                    "IPV6 support"                                 \
                    n                                              \
                    "--enable-ipv6"                                \
                    "--disable-ipv6"                               &&
#This is broken so forced on, 0.8.6 still broken,also dlgui
DILLO_OPTS="$DILLO_OPTS --enable-cookies --disable-dlgui"          &&
#config_query_option DILLO_OPTS                                     \
#                    "Cookie support"                               \
#                    y                                              \
#                    "--enable-cookies"                             \
#                    "--disable-cookies"                            &&
config_query_option DILLO_OPTS                                     \
                    "Allow meta refresh"                           \
                    n                                              \
                    "--enable-meta-refresh"                        \
                    "--disable-meta-refresh"                       &&
config_query_option DILLO_OPTS                                     \
                    "Use native language support"                  \
                    y                                              \
                    "--enable-nls"                                 \
                    "--disable-nls"                                &&
config_query_option DILLO_OPTS                                     \
                    "Enable GIF support"                           \
                    y                                              \
                    "--enable-gif"                                 \
                    "--disable-gif"                                &&
config_query DILLO_HTTPS                                           \
                    "Enable experimental https support"            \
                    n                                              \
                    ""                                             \
                    ""
