config_query DOCUMENTATION "Do you want to install extra documentation (it needs tetex)?" n

if  spell_ok  libice   &&
    spell_ok  libsm    &&
    spell_ok  libx11   &&
    spell_ok  libxext  &&
    spell_ok  libxmu   &&
    spell_ok  libxpm
then
  config_query_option  T1LIB_X11  "Build with X11? support"  y  \
                       '--with-x'  '--without-x'
else
  config_query_option  T1LIB_X11  "Build with X11 support?"  n  \
                       '--with-x'  '--without-x'
fi
