OPeNDAP (dods) and S3 drivers are mutually exclusive.
From gdal-dev mailing list:
Thomas Bonfort recently contributed patches for Unix builds in GDAL master to produce a minimal GDAL.
For the raster side (frmts/ subdirectory), the following drivers are required:
derived gtiff hfa mem vrt. All others can be disabled For the vector side (ogr/ogrsf_frmts/ subdirectory), the following drivers are
required: generic geojson kml mem mitab vrt. All others can be disabled With some tweaking of the Windows makefiles, you could likely get the same result.
Even