X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=configure.in;h=430d3970c95ff79cf2dee41152ab7ba6e6027f8b;hp=6f9ab4024dd4a3622f233bf64f4b845ebb8a25d0;hb=28a7603b719f8d35bf22fd3018b610b489fec78f;hpb=940c7c304d4a43c00c27529cdddc7c87db6eef87 diff --git a/configure.in b/configure.in index 6f9ab40..430d397 100644 --- a/configure.in +++ b/configure.in @@ -190,9 +190,9 @@ if test "$enable_gss" = yes; then dnl This is not done until here because we need to have KRBLIBS set dnl ("librpcsecgss=1" is so that it doesn't get added to LIBS) - AC_CHECK_LIB(rpcsecgss, authgss_create_default, [librpcsecgss=1], AC_MSG_ERROR([librpcsecgss needed for nfsv4 support]), $KRBLIBS) + AC_CHECK_LIB(rpcsecgss, authgss_create_default, [librpcsecgss=1], AC_MSG_ERROR([librpcsecgss needed for nfsv4 support]), -lgssapi -ldl) AC_CHECK_LIB(rpcsecgss, authgss_set_debug_level, - AC_DEFINE(HAVE_AUTHGSS_SET_DEBUG_LEVEL, 1, [Define this if the rpcsec_gss library has the function authgss_set_debug_level]),, $KRBLIBS) + AC_DEFINE(HAVE_AUTHGSS_SET_DEBUG_LEVEL, 1, [Define this if the rpcsec_gss library has the function authgss_set_debug_level]),, -lgssapi -ldl) fi