optional_depends readline \
                 "--with-rl" \
                 "--without-rl" \
                 "Enable readline in the interpreter" &&

optional_depends curl \
                 "--with-curl" \
                 "--without-curl" \
                 "Enable the Curl module which fetches data given URLs" &&

optional_depends gdbm \
                 "--with-gdbm" \
                 "--without-gdbm" \
      "Enable the Gdbm module which provides simple file-backed databases" &&

optional_depends libggi \
                 "--with-ggi" \
                 "--without-ggi" \
                 "Enable the GGI module (portable raster graphics)" &&

if is_depends_enabled $SPELL libggi; then
optional_depends freetype2 \
                 "--with-ft2" \
                 "--without-ft2" \
                 "Enable additional font support within the GGI module"
fi &&

optional_depends imagemagick \
                 "--with-magick" \
                 "--without-magick" \
         "Enable the Magick module (provides an interface to ImageMagick)" &&

optional_depends unixodbc \
                 "--with-odbc" \
                 "--without-odbc" \
                 "Enable the ODBC module (for open database conectivity)" &&

optional_depends tk \
                 "--with-tk" \
                 "--without-tk" \
"Enable the Tk module (Actually enables execution of arbitrary Tcl commands)" &&

optional_depends libxslt \
                 "--with-xml" \
                 "--without-xml" \
		 "For the XML module (also requires libxml2 and zlib)" &&
if is_depends_enabled $SPELL libxslt; then
    depends libxml2 &&
    depends zlib
fi
# remember to put && after fi if uncomenting below

# Spell for IBM's Open Data Explorer does not exist yet.
#optional_depends opendx \
#                 "--with-dxl" \
#                 "--without-dxl" \
#                 "Provide an interface to Open Data Explorer (DX)" &&

# Spell for dmalloc (malloc debugger) does not exist yet.
#optional_depends dmalloc \
#                 "--with-dmalloc" \
#                 "--without-dmalloc" \
#                 "Use dmalloc (a malloc debugger)" &&

