xref: /PHP-7.2/ext/xmlrpc/libxmlrpc/acinclude.m4 (revision 69eec3f3)
1# Local macros for automake & autoconf
2
3AC_DEFUN([XMLRPC_FUNCTION_CHECKS],[
4
5# Standard XMLRPC list
6AC_CHECK_FUNCS( \
7 strtoul strtoull snprintf \
8 strstr strpbrk strerror\
9 memcpy memmove)
10
11])
12
13AC_DEFUN([XMLRPC_HEADER_CHECKS],[
14AC_HEADER_STDC
15AC_CHECK_HEADERS(xmlparse.h xmltok.h stdlib.h strings.h string.h)
16])
17
18AC_DEFUN([XMLRPC_TYPE_CHECKS],[
19
20AC_REQUIRE([AC_C_CONST])
21AC_REQUIRE([AC_C_INLINE])
22AC_CHECK_SIZEOF(char, 1)
23
24AC_CHECK_SIZEOF(int, 4)
25AC_CHECK_SIZEOF(long, 4)
26AC_CHECK_SIZEOF(long long, 8)
27AC_TYPE_SIZE_T
28AC_HEADER_TIME
29AC_TYPE_UID_T
30
31
32])
33