summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>2021-06-09 02:14:34 +0900
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>2021-06-09 02:43:41 +0900
commitbe5670c864a03d9c35081340dcb0a8e68c1725f3 (patch)
treeb0d3d563fab9ebf70f07a18bbb4afbe9d0ee80fe
parent40d0b84220f7c0ff9c3874656db7f0f8cb6a85e6 (diff)
downloadfio-be5670c864a03d9c35081340dcb0a8e68c1725f3.tar.gz
fio-be5670c864a03d9c35081340dcb0a8e68c1725f3.tar.bz2
configure: silence "pkg-config: not found"
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>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 8b763700..84ccce04 100755
--- a/configure
+++ b/configure
@@ -2285,7 +2285,7 @@ print_config "DAOS File System (dfs) Engine" "$dfs"
##########################################
# 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)