Opened 19 years ago

Last modified 19 years ago

#679 closed defect (fixed)

AutoLoad path should depend on --prefix or another option

Reported by: warmerdam Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

The default directory used for searching for GDAL drivers should be controlled
by --prefix and possibly another specific configuration directive. 

(ie. now hardcoded to /usr/local/lib in gdaldrivermanager.cpp)

Change History (1)

comment:1 by warmerdam, 19 years ago

I have added a GDAL_PREFIX define in cpl_config.h that has the global $prefix.
It is now used by the autoload code, as well as the findfile and cpl_csv code
for default search paths. 

I did not implement a custom override switch to configure for the driver
autoloader at this time.

Note: See TracTickets for help on using tickets.