depends -sub CXX gcc  &&

optional_depends  tcl                          \
                  "--with-tcl"                 \
                  "--without-tcl"              \
                  "to include Tcl/Tk support"  &&

optional_depends  lua51                          \
                  "--with-lua"                 \
                  "--without-lua"              \
                  "include lua51 support"        &&

optional_depends  ocaml                        \
                  "--with-ocaml"               \
                  "--without-ocaml"            \
                  "include Ocaml support"      &&

optional_depends  python                                        \
                  "--with-python=$INSTALL_ROOT/usr/bin/python"  \
                  "--without-python"                            \
                  "to include Python 2 support"                 &&

optional_depends  python3                                        \
                  "--with-python3=$INSTALL_ROOT/usr/bin/python3" \
                  "--without-python3"                            \
                  "to include Python 3 support"                  &&

optional_depends  perl                                      \
                  "--with-perl=$INSTALL_ROOT/usr/bin/perl"  \
                  "--without-perl"                          \
                  "to include Perl 5 support"               &&

optional_depends  php                                                 \
                  "--with-php4=$INSTALL_ROOT/usr/bin/php"             \
                  "--without-php4"                                    \
                  "to include PHP 4 support (NOTE: problematic now)"  &&

optional_depends  RUBY                                      \
                  "--with-ruby=$INSTALL_ROOT/usr/bin/ruby"  \
                  "--without-ruby"                          \
                  "to include Ruby support"                 &&

optional_depends  JAVA                       \
                  '--with-java'              \
                  '--without-java'           \
                  'to include Java support'  \
                  'z-rejected'               &&

optional_depends  guile                                       \
                  "--with-guile=$INSTALL_ROOT/usr/bin/guile"  \
                  "--without-guile"                           \
                  "to include Guile support" &&

optional_depends pcre "" "--without-pcre" "for regular expression support"
