configure: make libnfs not_found message user friendly
PATCH v2 1/1 configure: make libnfs not_found message user friendly
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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" "Install libnfs-devel >= 1.9.3" fi libnfs="no" fi
Signature · 1 line
1.9.1
Quoted 11 lines · Liu Yuan
Cc Kevin Wolf <[email protected]>Signed-off-by Liu Yuan <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0
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" "Install libnfs-devel >= 1.9.3"
I notice that other occasions of feature_not_found doesn't add "-" between package and devel.
Fam
Quoted 22 lines · Liu Yuan
Cc Kevin Wolf <[email protected]>Signed-off-by Liu Yuan <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)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" "Install libnfs-devel >= 1.9.3" fi libnfs="no" fiSignature · 1 line
1.9.1
I already had a patch that fixed all similar cases:
http://lists.nongnu.org/archive/html/qemu-devel/2014-06/msg06411.html.
Regards,
Hu
Quoted 18 lines · Hu Tao
Quoted 17 lines · Liu Yuan
Cc Kevin Wolf <[email protected]>Signed-off-by Liu Yuan <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)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" "Install libnfs-devel >= 1.9.3" fi
Quoted 8 lines
Quoted 5 lines
configure +0
-0libnfs="no" fiSignature · 1 line
1.9.1I already had a patch that fixed all similar cases:
http://lists.nongnu.org/archive/html/qemu-devel/2014-06/msg06411.html.
Thanks, I have applied Hu's patch to my block-next tree because it includes this and other cases.
Please CC me on block layer patches. I co-maintain the block layer with Kevin and am merging patches this week.
Stefan
Quoted 28 lines · Stefan Hajnoczi
Quoted 18 lines · Hu Tao
Quoted 17 lines · Liu Yuan
Cc Kevin Wolf <[email protected]>Signed-off-by Liu Yuan <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)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" "Install libnfs-devel >= 1.9.3" fiQuoted 8 lines
Quoted 5 lines
configure +0
-0libnfs="no" fiSignature · 1 line
1.9.1I already had a patch that fixed all similar cases:
http://lists.nongnu.org/archive/html/qemu-devel/2014-06/msg06411.html.
Quoted 5 lines
Thanks, I have applied Hu's patch to my block-next tree because it includes this and other cases.
Please CC me on block layer patches. I co-maintain the block layer with Kevin and am merging patches this week.
Umm, I git log see that this file related to block layer mostly sent to kevin, so I thought I should only send it to Kevin. I'll include you from this time on as I did before.
Yuan