Skip to contentSkip to conversation

configure: make libnfs not_found message more user friendly

PATCH Superseded Liu Yuan 2 participants 2 messages Jul 9, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Liu Yuan

author
#0 lore raw

PATCH 1/1 configure: make libnfs not_found message more user friendly

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 7dd43fd..684fcdf 100755
@@ -3996,7 +3996,7 @@ if test "$libnfs" != "no" ; then
     LIBS="$LIBS $libnfs_libs"
   else
     if test "$libnfs" = "yes" ; then
-      feature_not_found "libnfs"
+      feature_not_found "libnfs" "libnfs (>=1.9.3) development files required to compile libnfs"
     fi
     libnfs="no"
   fi
Signature · 1 line
1.9.1
#1 lore raw

Am 09.07.2014 um 12:28 hat Liu Yuan geschrieben:

Quoted 11 lines
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index 7dd43fd..684fcdf 100755

configure if test "$libnfs" != "no" ; then · line 3999

Quoted 5 lines
configure +1 -1
@@ -3996,7 +3996,7 @@ if test "$libnfs" != "no" ; then
     LIBS="$LIBS $libnfs_libs"
   else
     if test "$libnfs" = "yes" ; then
-      feature_not_found "libnfs"
+      feature_not_found "libnfs" "libnfs (>=1.9.3) development files required to compile libnfs"

The message would be more consistent with other features if this said something like this:

feature_not_found "libnfs" "Install libnfs-devel >= 1.9.3"

Kevin