# NOTE: Loadable i18n support breaks XIM on UTF-8 locales
list_add LIBX11_OPTS --disable-loadable-i18n
#config_query_option LIBX11_OPTS                                \
#          "Enable loadable i18n module support?"               \
#          n                                                    \
#          "--enable-loadable-i18n"                             \
#          "--disable-loadable-i18n"                            &&

config_query_option LIBX11_OPTS                                \
          "Enable loadable xcursor library support?"           \
          y                                                    \
          "--enable-loadable-xcursor"                          \
          "--disable-loadable-xcursor"                         &&

config_query_option LIBX11_OPTS                                \
          "Enable Xlib support for CMS?"                       \
          y                                                    \
          "--enable-xcms"                                      \
          "--disable-xcms"                                     &&

config_query_option LIBX11_OPTS                                \
          "Enable Xlib locale implementation?"                 \
          y                                                    \
          "--enable-xlocale"                                   \
          "--disable-xlocale"                                  &&

config_query_option LIBX11_OPTS                                \
          "Enable XLOCALEDIR environment variable support?"    \
          n                                                    \
          "--enable-xlocaledir"                                \
          "--disable-xlocaledir"                               &&

config_query_option LIBX11_OPTS                                \
          "Enable compose table cache support?"                \
          y                                                    \
          "--enable-composecache"                              \
          "--disable-composecache"                             &&

config_query_option LIBX11_OPTS                                \
          "Enable Xlib support for Multithreading?"            \
          y                                                    \
          "--enable-xthreads"                                  \
          "--disable-xthreads"                                 &&

config_query_option LIBX11_OPTS                                \
          "Enable XKB support?"                                \
          y                                                    \
          "--enable-xkb"                                       \
          "--disable-xkb"
