--- aclocal/kerberos5.m4 +++ aclocal/kerberos5.m4 @@ -34,9 +34,12 @@ KRBLIBS=`$K5CONFIG --libs gssapi` K5VERS=`$K5CONFIG --version | head -n 1 | awk '{split($(4),v,"."); if (v@<:@"3"@:>@ == "") v@<:@"3"@:>@ = "0"; print v@<:@"1"@:>@v@<:@"2"@:>@v@<:@"3"@:>@ }'` AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number]) - if test -f $dir/include/gssapi/gssapi_krb5.h -a \ + if test \( -f $dir/include/gssapi/gssapi_krb5.h -o \ + -f /usr/include/gssapi/gssapi_krb5.h \) -a \ \( -f $dir/lib/libgssapi_krb5.a -o \ - -f $dir/lib/libgssapi_krb5.so \) ; then + -f $dir/lib/libgssapi_krb5.so -o \ + -f /usr/lib/libgssapi_krb5.so -o \ + -f /usr/lib64/libgssapi_krb5.so \) ; then AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries]) KRBDIR="$dir" dnl If we are using MIT K5 1.3.1 and before, we *MUST* use the