RGW: handle LIBRGW_FILE_VER_EXTRA in FindRGW.cmake

Prior to this change, we were not parsing this value from the librgw
header file, so CMake could only ever discover the "MAJOR.MINOR" version
number from rgw_file.h.

Commit c4b3d73ad25fcad2aeec7df580fdc32513dcebaa introduced a dependency
on the non-zero value of Ceph's LIBRGW_FILE_VER_EXTRA ("1.1.1")

This "1.1.1" requirement is greater than the MAJOR.MINOR number we
parsed ("1.1"), so we would effectively always fail to build with newer
librgw versions.

Parse LIBRGW_FILE_VER_EXTRA in our CMake code so we can do a proper
version comparison.

Change-Id: I40c1c87e9a240c1f581829d909cf7d1943b33f03
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
1 file changed
tree: 84c7697ecc46bba10cd4368aa59dc3bbafa28941
  1. contrib/
  2. coverity/
  3. jenkins/
  4. src/
  5. .gitignore
  6. .gitmodules
  7. .gitreview
  8. .mailmap
  9. .travis.yml
  10. README.md
README.md

Coverity Scan Build Status nfs-ganesha

NFS-Ganesha is an NFSv3,v4,v4.1 fileserver that runs in user mode on most UNIX/Linux systems. It also supports the 9p.2000L protocol.

For more information, consult the project wiki.