]> git.pld-linux.org Git - packages/nfs-utils.git/blob - nfs-utils-libgssglue.patch
- http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches/1.1.1-1/nfs-utils...
[packages/nfs-utils.git] / nfs-utils-libgssglue.patch
1 diff --git a/configure.ac b/configure.ac
2 index 1d07cd7..a378953 100644
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -181,11 +181,11 @@ if test "$enable_nfsv4" = yes; then
6      dnl librpcsecgss already has a dependency on libgssapi,
7      dnl but we need to make sure we get the right version
8      if test "$enable_gss" = yes; then
9 -     PKG_CHECK_MODULES(RPCSECGSS, librpcsecgss >= 0.10, ,
10 +     PKG_CHECK_MODULES(RPCSECGSS, librpcsecgss >= 0.16, ,
11        [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])
12        ]
13       )
14 -    PKG_CHECK_MODULES(GSSAPI, libgssapi >= 0.11)
15 +    PKG_CHECK_MODULES(GSSGLUE, libgssglue >= 0.1)
16      fi
17  
18  fi
19 @@ -228,9 +228,9 @@ if test "$enable_gss" = yes; then
20  
21    dnl This is not done until here because we need to have KRBLIBS set
22    dnl ("librpcsecgss=1" is so that it doesn't get added to LIBS)
23 -  AC_CHECK_LIB(rpcsecgss, authgss_create_default, [librpcsecgss=1], AC_MSG_ERROR([librpcsecgss needed for nfsv4 support]), -lgssapi -ldl)
24 +  AC_CHECK_LIB(rpcsecgss, authgss_create_default, [librpcsecgss=1], AC_MSG_ERROR([librpcsecgss needed for nfsv4 support]), -lgssglue -ldl)
25    AC_CHECK_LIB(rpcsecgss, authgss_set_debug_level,
26 -              AC_DEFINE(HAVE_AUTHGSS_SET_DEBUG_LEVEL, 1, [Define this if the rpcsec_gss library has the function authgss_set_debug_level]),, -lgssapi -ldl)
27 +              AC_DEFINE(HAVE_AUTHGSS_SET_DEBUG_LEVEL, 1, [Define this if the rpcsec_gss library has the function authgss_set_debug_level]),, -lgssglue -ldl)
28  
29  fi
30  
31 @@ -284,7 +284,7 @@ AC_CHECK_FUNCS([alarm atexit dup2 fdatasync ftruncate getcwd \
32  
33  
34  dnl *************************************************************
35 -dnl Check for data sizes (XXX These should go away with libgssapi pkg-config)
36 +dnl Check for data sizes
37  dnl *************************************************************
38  AC_CHECK_SIZEOF(short)
39  AC_CHECK_SIZEOF(int)
This page took 0.039491 seconds and 3 git commands to generate.