configure: cleanups for nfs ioengine
authorVincent Fu <vincentfu@gmail.com>
Mon, 11 Jul 2022 15:51:13 +0000 (15:51 +0000)
committerVincent Fu <vincentfu@gmail.com>
Fri, 22 Jul 2022 19:57:27 +0000 (15:57 -0400)
commit98ab12629c6a98fb53e28a4a70f53ce594cca858
tree1b6df05d9b3ba3c7847a91099f9d20d07697e3d9
parent02a36caa69f5675f7144fbeddb7a32e1d35ce0c7
configure: cleanups for nfs ioengine

By default, build the nfs ioengine if configure can find libnfs.

Add a --disable-libnfs to avoid building the nfs ionegine even if
support could be found on the system.

Change the --enable-libnfs option to abort the build if libnfs cannot be
found.

Also use pkg-config to find the libnfs path instead of hard coding the
path.

Finally, drop CONFIG_NFS and use CONFIG_LIBNFS everywhere. There's no
reason to have two separate symbols.

Signed-off-by: Vincent Fu <vincentfu@gmail.com>
configure
options.c