depends zlib &&
depends tiff "--with-libtiff=yes" &&
depends -sub CXX gcc &&
depends libgeotiff "--with-geotiff=yes" &&
depends libpng "--with-png" &&
depends JPEG "--with-jpeg"&&
depends giflib "--with-gif" &&
optional_depends cfitsio \
                 "--with-cfitsio" \
                 "--with-cfitsio=no" \
                 "Flexible Image Transport System support" &&
optional_depends netcdf \
                 "--with-netcdf" \
                 "--with-netcdf=no" \
                 "Network Common Data Form support" &&
optional_depends ogdi \
                 "--with-ogdi" \
                 "--with-ogdi=no" \
                 "OGDI Bridge" &&
optional_depends hdf4 \
                 "--with-hdf4" \
                 "--with-hdf4=no" \
                 "Hierarchical Data Format Release 4 support" &&
optional_depends hdf5 \
                 "--with-hdf5" \
                 "--with-hdf5=no" \
                 "Hierarchical Data Format Release 5 support" &&
optional_depends jasper \
                 "--with-jasper" \
                 "--with-jasper=no" \
                 "JPEG2000 support" &&
optional_depends geos \
                 "--with-geos" \
                 "--with-geos=no" \
                 "Use the GEOS spatial topology library" &&
optional_depends perl \
                 "--with-perl" \
                 "--without-perl" \
                 "Enable perl bindings" &&
optional_depends php \
                 "--with-php" \
                 "--without-php" \
                 "Enable php bindings" &&
optional_depends ruby \
                 "--with-ruby" \
                 "--without-ruby" \
                 "Enable Ruby bindings" &&
optional_depends python \
                 "--with-python" \
                 "--without-python" \
                 "Enable python bindings" &&
optional_depends sqlite \
                 "--with-sqlite3" \
                 "--without-sqlite3" \
                 "Use SQLite 3 library" &&
optional_depends curl \
                 "--with-curl" \
                 "--without-curl" \
                 "cURL support" &&
optional_depends unixodbc \
                 "--with-odbc" \
                 "--without-odbc" \
                 "ODBC support" &&
optional_depends postgresql \
                 "--with-pg" \
                 "--without-pg" \
                 "Postgresql OGR support" &&
optional_depends mysql \
                 "--with-mysql" \
                 "--without-mysql" \
                 "MySQL support" 
