2001-02-13 16:46:19 +00:00
|
|
|
dnl $Id: broken.m4,v 1.4 2000/07/15 18:06:36 joda Exp $
|
2000-01-09 20:58:00 +00:00
|
|
|
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"])
|
2001-02-13 16:46:19 +00:00
|
|
|
if false; then
|
|
|
|
AC_CHECK_FUNCS($1)
|
|
|
|
fi
|
2000-01-09 20:58:00 +00:00
|
|
|
done
|
|
|
|
AC_SUBST(LIBOBJS)dnl
|
|
|
|
])
|