]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Look in lib64 for gss libs aswell.
authorNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 04:10:08 +0000 (15:10 +1100)
committerNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 04:10:08 +0000 (15:10 +1100)
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).

aclocal/kerberos5.m4

index 1dac9f01aad0e0b27089152a3c92de7f70c3e7a6..b83e12236be86f3b9e06ee22b8b6feae9cc0e231 100644 (file)
@@ -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"