depends  gtk+2 '--enable-gtk2' &&

depends  xorg-libs  '--with-x  --with-libxpm'  &&

# all of the "depends" below strictly speaking are not required, e.g. we can
# use included library by specifying --with-*=builtin, but we want to use the
# system libraries, so we're saying --with-*[=sys] here.
depends  zlib    '--with-zlib'     &&
depends  libpng  '--with-libpng'   &&
depends  JPEG    '--with-libjpeg'  &&
depends  tiff    '--with-libtiff'  &&
depends  pcre    '--with-regex'    &&

optional_depends  expat              \
                  '--with-expat'     \
                  '--without-expat'  \
                  'for XML parsing using expat library'  &&
optional_depends  libgnomeprint           \
                  '--with-gnomeprint'     \
                  '--without-gnomeprint'  \
                  'for GNOME print system support'  &&
optional_depends  libiodbc          \
                  '--with-odbc'     \
                  '--without-odbc'  \
                  'for ODBC support'  &&
optional_depends  sdl                          \
                  '--with-sdl --enable-sound'  \
                  '--without-sdl'              \
                  'for sound system support'
