[Gdal-dev] Default Settings when Compiling GDAL

Frank Warmerdam warmerdam at pobox.com
Tue Sep 19 14:21:54 EDT 2006


Bill Thoen wrote:
> If I compile the GDAL package using just the defaults, is support for
> postgres one of the defaults or do I need to add the --with-pg option? How
> do I tell which options are set "on" by default?

Bill,

If you don't specify anything about postgres when configuring GDAL, it will
try to find pg_config in the path.  If it finds it, it will attempt to
configure in postgres/postgis support on the basis of it.

I wish I could say there is a way to know whether given configure options
behave this way (default to on, if some supporting item can be found) or
not, but in fact the behavior varies widely.  But you can watch the messages
during configuration and the final configure report to get an idea of which
options were activated.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list