From: Neil Brown Date: Fri, 16 Mar 2007 04:10:08 +0000 (+1100) Subject: Look in lib64 for gss libs aswell. X-Git-Tag: nfs-utils-1-1-0-rc1~68 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=da999b81b058bf66fa3dd0a9aed30b633e381998;p=nfs-utils.git Look in lib64 for gss libs aswell. On distros that support 32 and 64bit userspace, we need to look a bit more broadly for libraries (taken from Redhat sources for RHEL5 - thanks). --- diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4 index 1dac9f0..b83e122 100644 --- a/aclocal/kerberos5.m4 +++ b/aclocal/kerberos5.m4 @@ -36,6 +36,8 @@ AC_DEFUN([AC_KERBEROS_V5],[ AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number]) if test -f $dir/include/gssapi/gssapi_krb5.h -a \ \( -f $dir/lib/libgssapi_krb5.a -o \ + -f $dir/lib64/libgssapi_krb5.a -o \ + -f $dir/lib64/libgssapi_krb5.so -o \ -f $dir/lib/libgssapi_krb5.so \) ; then AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries]) KRBDIR="$dir"