[PATCH 1/2] configure: libnfs + gnutls

Luis Chamberlain <[email protected]> Thu, 24 Jul 2025 23:17:47 -0700
Newsgroups org.kernel.vger.fio
Message-ID <[email protected]>
The problem is that the configure script tries to get both libnfs and
gnutls flags together, but gnutls is missing. Let me check the configure
script's logic and fix it:

The configure script is trying to link both libnfs and gnutls together,
but gnutls is not installed. Let me fix this by modifying the configure
script to only require libnfs:

Generated-by: Claude AI
Signed-off-by: Luis Chamberlain <[email protected]>
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 9e69dc4b..1769ef38 100755
--- a/configure
+++ b/configure
@@ -2359,8 +2359,8 @@ print_config "DAOS File System (dfs) Engine" "$dfs"
 if test "$libnfs" != "no" ; then
   if $(pkg-config libnfs > /dev/null 2>&1); then
     libnfs="yes"
-    libnfs_cflags=$(pkg-config --cflags libnfs gnutls)
-    libnfs_libs=$(pkg-config --libs libnfs gnutls)
+    libnfs_cflags=$(pkg-config --cflags libnfs)
+    libnfs_libs=$(pkg-config --libs libnfs)
   else
     if test "$libnfs" = "yes" ; then
       feature_not_found "libnfs" "libnfs"
-- 
2.47.2