id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3910	configure checks for platform-specific *.so for mrsid/lidar	kyngchaos	kirk	"To decide whether to add ""Release/"" to the base path for linking MrSID and Lidar DSDKs, configure checks for the existence of a .so shared library.  This only works on linux, and on OS X it will always fall thru to using ""Release/"", with the ver 8 DSDK which includes shared libraries. (the v7 DSDK has a .a static library, so the mrsid test works there.)

It needs to also test for *.dylib.

The relevant blocks in configure.in:

{{{

    if test -r ""$with_mrsid/lib/libltiesdk.a"" ; then # v8+ esdk contains dsdk
      _LIBPART=lib
      MRSID_LIBS=""-lltiesdk $MRSID_LIBS""
    elif test -r ""$with_mrsid/lib/libltidsdk.a"" \
           -o -L ""$with_mrsid/lib/libltidsdk.so"" ; then
      _LIBPART=lib
      MRSID_LIBS=""-lltidsdk $MRSID_LIBS""
    else
      _LIBPART=lib/Release
      MRSID_LIBS=""-lltidsdk $MRSID_LIBS""
    fi
}}}

and

{{{

    if test -L ""$MRSID_LIDAR_BASE/lib/liblti_lidar_dsdk.so""; then
      MRSID_LIDAR_LIBS=""-L$MRSID_LIDAR_BASE/lib -llti_lidar_dsdk""
      MRSID_LIDAR_INCLUDE=""-I$MRSID_LIDAR_BASE/include""
    else
      MRSID_LIDAR_LIBS=""-L$MRSID_LIDAR_BASE/lib/Release -llti_lidar_dsdk""
      MRSID_LIDAR_INCLUDE=""-I$MRSID_LIDAR_BASE/include""
    fi
}}}"	defect	closed	normal	1.8.0	ConfigBuild	svn-trunk	normal	fixed		kirk
