(krb4): fix the krb_mk_req test

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8109 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-04-04 16:26:59 +00:00
parent 27be596d32
commit 448749d262

View File

@@ -125,10 +125,10 @@ if test "$with_krb4" != "no"; then
AC_FIND_FUNC(krb_get_our_ip_for_realm)
AC_CACHE_CHECK(for krb_mk_req with const arguments,
ac_cv_func_krb_mk_req_const,
[AC_TRY_COMPILE([#include <krb.h>],[
[AC_TRY_COMPILE([#include <krb.h>
int krb_mk_req(KTEXT a, const char *s, const char *i,
const char *r, int32_t checksum)
{ return 17; }],
{ return 17; }], [],
ac_cv_func_krb_mk_req_const=yes,
ac_cv_func_krb_mk_req_const=no)
])