xref: /minix3/crypto/external/bsd/heimdal/dist/cf/broken.m4 (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambucdnl Id
2*ebfedea0SLionel Sambucdnl
3*ebfedea0SLionel Sambucdnl
4*ebfedea0SLionel Sambucdnl Same as AC _REPLACE_FUNCS, just define HAVE_func if found in normal
5*ebfedea0SLionel Sambucdnl libraries
6*ebfedea0SLionel Sambuc
7*ebfedea0SLionel SambucAC_DEFUN([AC_BROKEN],
8*ebfedea0SLionel Sambuc[AC_FOREACH([rk_func], [$1],
9*ebfedea0SLionel Sambuc	[AC_CHECK_FUNC(rk_func,
10*ebfedea0SLionel Sambuc		[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]rk_func), 1,
11*ebfedea0SLionel Sambuc			[Define if you have the function `]rk_func['.])],
12*ebfedea0SLionel Sambuc		[rk_LIBOBJ(rk_func)])])])
13