depends  ncurses   &&
depends  fortran   &&
depends  g++       &&

# also looks for but not sure if it needs
# less, perl, TeX, laTeX, unzip, zip, gzip,
# mozilla, acroread, xpdf, libtool.

optional_depends  readline                    \
                  '--with-readline'           \
                  '--without-readline'        \
                  'for command line editing'  &&

optional_depends  zlib                     \
                  '--with-system-zlib'     \
                  '--without-system-zlib'  \
                  'Use system zlib'        &&
 
optional_depends  bzip2                     \
                  '--with-system-bzlib'     \
                  '--without-system-bzlib'  \
                  'Use system bzip2'        &&

optional_depends  libpng                \
                  '--with-libpng'       \
                  '--without-libpng'    \
                  'Enable png support'  &&

optional_depends  JPEG                        \
                  '--with-jpeglib'            \
                  '--without-system-jpeglib'  \
                  'Enable jpeg support'       &&

optional_depends  pcre                   \
                  '--with-system-pcre'   \
                  '--without-pcre'       \
                  'Enable pcre support'  &&

optional_depends  tk                       \
                  '--with-tcltk'           \
                  '--without-tcltk'        \
                  'Enable TCL/TK support'  &&

optional_depends  lapack                             \
                  '--with-lapack --with-blas'        \
                  '--without-lapack --without-blas'  \
                  'for BLAS and LAPACK routines'
