Ticket #66 (new defect)
./configure --with-geotiff=yes does not set libgeotiff
| Reported by: | mloskot | Owned by: | hobu |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | Build System | Version: | svn-trunk |
| Keywords: | geotiff libgeotiff | Cc: | |
| LAS Format Version: | Not Applicable |
Description
The ./configure help says that --with-geotiff accepts yes or path. Considering libgeotiff installed on Debian-like distributions, under standard prefix /usr, ./configure --with-geotiff=yes says that geotiff has been detected but actually Makefile files are not generated properly.
This is because detection is based on AC_CHECK_LIB and this test succeeds. However, include directories are set using $with_geotiff value which is yes, so Makefile gets wrong or empty include directory paths.
The solution is to redesign geotiff determination to two tests, distinguishing these cases:
- --with-geotiff=yes - check standard prefixes like /usr and /usr/local for headers and library
- --with-geotiff=/path/to/install/prefox - check given prefix only for all files
Change History
Note: See
TracTickets for help on using
tickets.
