3 dnl AC_BROKEN but with more arguments
5 dnl AC_BROKEN2(func, includes, arguments)
7 [AC_MSG_CHECKING([for $1])
8 AC_CACHE_VAL(ac_cv_func_[]$1,
11 /* The GNU C library defines this for functions which it implements
12 to always fail with ENOSYS. Some functions are actually named
13 something starting with __ and the normal name is an alias. */
14 #if defined (__stub_$1) || defined (__stub___$1)
19 ], [eval "ac_cv_func_[]$1=yes"], [eval "ac_cv_func_[]$1=no"])])
20 if eval "test \"\${ac_cv_func_[]$1}\" = yes"; then
21 AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]$1), 1, define)