3 dnl AC_BROKEN but with more arguments
5 dnl AC_BROKEN2(func, includes, arguments)
9 AC_MSG_CHECKING([for $ac_func])
10 AC_CACHE_VAL(ac_cv_func_$ac_func,
13 /* The GNU C library defines this for functions which it implements
14 to always fail with ENOSYS. Some functions are actually named
15 something starting with __ and the normal name is an alias. */
16 #if defined (__stub_$1) || defined (__stub___$1)
21 ], [eval "ac_cv_func_$ac_func=yes"], [eval "ac_cv_func_$ac_func=no"])])
22 if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
23 ac_tr_func=HAVE_[]upcase($ac_func)
24 AC_DEFINE_UNQUOTED($ac_tr_func)
28 LIBOBJS[]="$LIBOBJS ${ac_func}.o"