Merge pull request #9 from lha/master
[heimdal.git] / cf / broken.m4
blob1c8db72a270457303d82b641ef4c5518174fa5f5
1 dnl $Id$
2 dnl
3 dnl
4 dnl Same as AC _REPLACE_FUNCS, just define HAVE_func if found in normal
5 dnl libraries 
7 AC_DEFUN([AC_BROKEN],
8 [AC_FOREACH([rk_func], [$1],
9         [AC_CHECK_FUNC(rk_func,
10                 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]rk_func), 1, 
11                         [Define if you have the function `]rk_func['.])],
12                 [rk_LIBOBJ(rk_func)])])])