Gareth,
What sort of issue do you encounter with SONAME not being defined ?
I've tested your patch and it doesn't generate the same soname as libtool.
libtool generates libgdal.so.20 deduced from the LIBGDAL_CURRENT /
LIBGDAL_REVISION / LIBGDAL_AGE variables.
Digging into history, it seems to
Encountered on Centos 6, x86_64
configured with --without-libtool, resulting libgdal.so has no SONAME entry
The link command for libgdal.so uses the variable 'GDAL_SLIB_SONAME' which
isn't defined in GDALmake.opt.in
The attached patch fixes the issue, and I believe will generate the same
name as