if test $want_gssapi != no; then
AC_CHECK_PROG(KRB5CONFIG, krb5-config, YES, NO)
if test $KRB5CONFIG = YES; then
- # we have a kludgy check here to check that we have
- # version >= v1.3. Although this doesn't work right with
- # non-MIT kerberos versioning..
if ! krb5-config --version gssapi 2>/dev/null > /dev/null; then
# krb5-config doesn't support gssapi.
KRB5_LIBS="`krb5-config --libs`"
# failed
KRB5_LIBS=
], $KRB5_LIBS)
- elif krb5-config --version|grep '1\.2' > /dev/null; then
- if test $want_gssapi = yes; then
- AC_ERROR([Can't build with GSSAPI support: v1.2 library not supported])
- fi
else
KRB5_LIBS=`krb5-config --libs gssapi`
KRB5_CFLAGS=`krb5-config --cflags gssapi`