freebsd-nq/crypto/heimdal/cf/broken.m4
2001-02-13 16:46:19 +00:00

19 lines
392 B
Plaintext

dnl $Id: broken.m4,v 1.4 2000/07/15 18:06:36 joda Exp $
dnl
dnl
dnl Same as AC _REPLACE_FUNCS, just define HAVE_func if found in normal
dnl libraries
AC_DEFUN(AC_BROKEN,
[for ac_func in $1
do
AC_CHECK_FUNC($ac_func, [
ac_tr_func=HAVE_[]upcase($ac_func)
AC_DEFINE_UNQUOTED($ac_tr_func)],[LIBOBJS[]="$LIBOBJS ${ac_func}.o"])
if false; then
AC_CHECK_FUNCS($1)
fi
done
AC_SUBST(LIBOBJS)dnl
])