[6916] Fixed typos in spell checking code.
[getmangos.git] / dep / ACE_wrappers / m4 / ace_functions.m4
blob571b9f1dfdcec2f6d2fbbc13660f566451319a7d
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
7 for ace_func in $1
8 do
9 AC_CHECK_FUNC($ace_func,
10               [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_HAS_$ace_func])) $2],
11               [$3])dnl
12 done
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
21 for ace_func in $1
23 AC_CHECK_FUNC($ace_func,
24               [$2],
25               [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_LACKS_$ace_func])) $3])dnl
26 done