optional_depends zlib \ "--with-zlib" \ "--without-zlib" \ "for zlib compression support" && optional_depends bzip2 \ "--with-bzlib" \ "--without-bzlib" \ "for BZIP2 compression support" && optional_depends SSL \ "--with-opennssl" \ "--without-opennssl" \ "encryption for HTTPS" && optional_depends libx11 \ "--with-x" \ "--without-x" \ "for X-Window GUI support" && optional_depends spidermonkey \ "--with-spidermonkey" \ "--without-spidermonkey" \ "SpiderMonkey Mozilla JavaScript engine support" && optional_depends lua51 \ "--with-lua" \ "--without-lua" \ "lua scripting support" && optional_depends python \ "--with-python" \ "--without-python" \ "python scripting support" && optional_depends ruby-1.8 \ "--with-ruby" \ "--without-ruby" \ "ruby scripting support" && optional_depends perl \ "--with-perl" \ "--without-perl" \ "perl scripting support" && optional_depends guile \ "--with-guile" \ "--without-guile" \ "guile scripting support" && optional_depends libidn \ "--with-idn" \ "--without-idn" \ "international domain names support" && optional_depends gpm \ "--with-gpm" \ "--without-gpm" \ "GPM mouse support" && optional_depends xterm \ "--with-xterm" \ "--without-xterm" \ "how to invoke the X terminal emulator" && optional_depends expat \ "--enable-xbel" \ "--disable-xbel" \ "for XBEL bookmark support" && # SMB protocol support is disabled until ELinks 0.12.0 release #optional_depends samba \ # "--enable-smb" \ # "--disable-smb" \ # "for SMB protocol support" && if [[ $ELINKS_BRANCH == scm ]]; then depends git fi