Folks, We have a GDALVersionInfo() function which takes an argument about what type of version information we want to get back. I have added a new possible type which is "BUILD_INFO". The intention is that this would return build time information that might be useful to scripts or applications using GDAL to adjust behavior. I'm imagining this as a NAME=VALUE pair per line. I have exposed it via the --build commandline switch to GDAL applications.
eg. warmerda@gdal65[3]% gdalinfo --build PAM_ENABLED=YES OGR_ENABLED=YES Note that this isn't intended to capture all the formats that are configured. This is already accessable via --formats. But it can capture other things. Feel free to add new items in the function in gdal/gcore/gdal_misc.cpp. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [email protected] light and sound - activate the windows | http://home.gdal.org/warmerda and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
