diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/aclocal.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4 index d1e98522e..cd4ac9c1a 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1462,7 +1462,8 @@ AC_DEFUN([KRB5_NEED_PROTO], [ ifelse([$3], ,[if test "x$ac_cv_func_$2" = xyes; then]) AC_CACHE_CHECK([if $2 needs a prototype provided], krb5_cv_func_$2_noproto, AC_TRY_COMPILE([$1], -[struct k5foo {int foo; } xx; +[#undef $2 +struct k5foo {int foo; } xx; extern int $2 (struct k5foo*); $2(&xx); ], |