1 # ACE_CHECK_HAS_FUNCS(FUNCTION..., [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
2 #---------------------------------------------------------------------------
3 AC_DEFUN([ACE_CHECK_HAS_FUNCS],
4 [AC_FOREACH([ACE_Func], [$1],
5 [AH_TEMPLATE(AS_TR_CPP([ACE_HAS_]ACE_Func),
6 [Define to 1 if platform has ]ACE_Func[().])])dnl
9 AC_CHECK_FUNC($ace_func,
10 [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_HAS_$ace_func])) $2],
15 # ACE_CHECK_LACKS_FUNCS(FUNCTION..., [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
16 #-----------------------------------------------------------------------------
17 AC_DEFUN([ACE_CHECK_LACKS_FUNCS],
18 [AC_FOREACH([ACE_Func], [$1],
19 [AH_TEMPLATE(AS_TR_CPP([ACE_LACKS_]ACE_Func),
20 [Define to 1 if platform lacks ]ACE_Func[().])])dnl
23 AC_CHECK_FUNC($ace_func,
25 [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_LACKS_$ace_func])) $3])dnl