projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5092519
)
In KRB5_NEED_PROTO, #undef the name before testing
author
Ken Raeburn
<raeburn@mit.edu>
Mon, 6 Oct 2008 20:02:11 +0000
(20:02 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Mon, 6 Oct 2008 20:02:11 +0000
(20:02 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20826
dc483132
-0cff-0310-8789-
dd5450dbe970
src/aclocal.m4
patch
|
blob
|
history
diff --git
a/src/aclocal.m4
b/src/aclocal.m4
index d1e98522e3381e38f226d13f09a2a60602462220..cd4ac9c1aa953c75c0ea46cb61bb499ffdcbbcad 100644
(file)
--- 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);
],