Do what check_min_lib_version() does to not print the error message
when pkg-config doesn't exist.
--
DAOS File System (dfs) Engine no
./configure: pkg-config: not found
NFS engine no
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
##########################################
# Check if we have libnfs (for userspace nfs support).
if test "$disable_nfs" != "yes"; then
- if $(pkg-config libnfs); then
+ if $(pkg-config libnfs > /dev/null 2>&1); then
libnfs="yes"
libnfs_cflags=$(pkg-config --cflags libnfs)
libnfs_libs=$(pkg-config --libs libnfs)