[patch 1/6] Restore extra help for PKG_CONFIG error

kwc at citi.umich.edu kwc at citi.umich.edu
Fri Oct 13 15:35:32 EDT 2006




From: Kevin Coffman <kwc at citi.umich.edu>

Signed-off-by: Kevin Coffman <kwc at citi.umich.edu>

Fix the error message printed when pkg-config is unable to locate
information for librpcsecgss so the message is actually printed.


---

 nfs-utils-1.0.10-kwc/configure.in |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff -puN configure.in~gssd_configure_pkg_config_help configure.in
--- nfs-utils-1.0.10/configure.in~gssd_configure_pkg_config_help	2006-10-13 14:28:13.740280000 -0400
+++ nfs-utils-1.0.10-kwc/configure.in	2006-10-13 15:17:33.890936000 -0400
@@ -159,9 +159,7 @@ if test "$enable_nfsv4" = yes; then
     dnl but we need to make sure we get the right version
     if test "$enable_gss" = yes; then
      PKG_CHECK_MODULES(RPCSECGSS, librpcsecgss >= 0.10, ,
-      [AC_MSG_ERROR([Unable to locate information required to use librpcsecgss.])
-       AC_MSG_ERROR([If you have pkgconfig installed, you might try setting environment])
-       AC_MSG_ERROR([variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])
+      [AC_MSG_ERROR([Unable to locate information required to use librpcsecgss.  If you have pkgconfig installed, you might try setting environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])
       ]
      )
     PKG_CHECK_MODULES(GSSAPI, libgssapi >= 0.9)

_


More information about the NFSv4 mailing list