Commit 5e8f7ce27330 ("Add (almost) Zero-Copy for READ3") introduced a new API+ABI version that is incompatible with previous libnfs versions.
To avoid runtime breakages due to the new ABI, we must increment SOVERSION.
To avoid build-time breakages due to the new API, applications must be able to detec the new API. Since libnfs has no version macro, they cannot do this at compile time; the only way to detect the new API is to check the version number in the pkg-config file at configure time.
Commit 5e8f7ce27330 ("Add (almost) Zero-Copy for READ3") introduced a new API+ABI version that is incompatible with previous libnfs versions.
To avoid runtime breakages due to the new ABI, we must increment SOVERSION.
To avoid build-time breakages due to the new API, applications must be able to detec the new API. Since libnfs has no version macro, they cannot do this at compile time; the only way to detect the new API is to check the version number in the pkg-config file at configure time.