depends  zlib                                                              &&
depends  autoconf                                                          &&
depends  automake                                                          &&

#this is all for clanDisplay
depends  JPEG                                                              &&
depends  libpng                                                            &&
optional_depends  X11-LIBS                                                 \
                  "--with-x"                                               \
                  "--without-x"                                            \
                  "use the X Window System"                                &&
optional_depends  sdl                                                      \
                  "--enable-clanSDL --enable-sdltest"                      \
                  "--disable-clanSDL --disable-sdltest"                    \
                  "To enable clanSDL support"                              &&
optional_depends  sdl_gfx                                                  \
                  "--with-sdl-gfx"                                         \
                  "--without-sdl-gfx"                                      \
                  "To enable sdl_gfx support."                             &&
#to here----
#clanGL
optional_depends  OPENGL                                                   \
                  "--enable-clanGL"                                        \
                  "--disable-clanGL"                                       \
                  "Build clanGL module"                                    &&
#to here---
#clanSound
if list_find "$CLANLIB_OPTS" "--enable-clanSound"
then
  optional_depends  mikmod                                                 \
                    "--enable-clanMikMod"                                  \
                    "--disable-clanMikMod"                                 \
                    "To enable clanMikMod support"                         &&
  optional_depends  libvorbis                                              \
                    "--enable-clanVorbis"                                  \
                    "--disable-clanVorbis"                                 \
                    "To enable clanVorbis support"

fi                                                                         &&
#to here---
if list_find "$CLANLIB_OPTS" "--enable-docs"
then
  depends  perl                                                            &&
  depends  libxslt
fi
