diff options
author | kwc@citi.umich.edu <kwc@citi.umich.edu> | 2006-07-03 18:33:54 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-07-04 22:10:35 +1000 |
commit | 0bc710a5a2b695039613a917e009dba3552ab1cc (patch) | |
tree | 670dc2ea23fa45014f36fc563268142166e355f4 | |
parent | 5bfa10c94c44f082dc211a5fb431e2202ea9bb35 (diff) | |
download | nfs-utils-0bc710a5a2b695039613a917e009dba3552ab1cc.tar.gz nfs-utils-0bc710a5a2b695039613a917e009dba3552ab1cc.tar.xz nfs-utils-0bc710a5a2b695039613a917e009dba3552ab1cc.zip |
Don't depend on Kerberos headers when checking librpcsecgss in configure
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Older versions of MIT Kerberos are missing an OID definition, causing
the configure checks for librpcsecgss to fail. We shouldn't be depending
on their libraries during the configure.
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |