Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


Commit [r12772] Maximize Restore History

Add test for whether the SAHooks type is available from shapelib, and

if the resulting HAVE_SAHOOKS CMake variable is true,
then #define the HAVE_SAHOOKS C macro for src/plmap.c.

Tested by Alan W. Irwin <> on Linux
by checking that the example 19 result (for shapelib 1.3.0) does not
generate the misleading "Unable to open" error messages
from shapelib that you get when HAVE_SAHOOKS is not true.

airwin 2013-11-27

changed /trunk/cmake/modules/shapelib.cmake
changed /trunk/src/CMakeLists.txt
/trunk/cmake/modules/shapelib.cmake Diff Switch to side-by-side view
/trunk/src/CMakeLists.txt Diff Switch to side-by-side view