Ticket #2602 (closed defect: fixed)
./configure --with-hdf4 fails, but ./configure --with-hdf4=/usr/lib works
|Reported by:||rouault||Owned by:||warmerdam|
./configure --without-libtool --with-hdf4 [SNIP] In GDALmake.opt LIBS = [SNIP] -L -lmfhdf -ldf [SNIP]
In the report at end of configure, hdf4 is indicated as being build, but the "-L -lmfhdf -ldf" in the LIBS line is wrong.
./configure --without-libtool --with-hdf4=/usr/lib [SNIP] LIBS = [SNIP] -L/usr/lib -lmfhdf [SNIP]
correct, and builds fine
Interesting, this is a trunk only problem. With branches/1.5 svn, ./configure --with-hdf4 works