diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2019-03-14 23:21:17 +0100 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2019-03-18 02:11:23 +0100 |
| commit | ccc29473ecdb07d9735e7b6361b7daeec6c3ede1 (patch) | |
| tree | b359c40cbd61053f672c598ec0275ae9e7938de2 /ext/xmlrpc | |
| parent | b6f9ade9f201c852430689caf8ed8af0ded0159a (diff) | |
| download | php-git-ccc29473ecdb07d9735e7b6361b7daeec6c3ede1.tar.gz | |
Sync AC_CHECK_SIZEOF m4 macro calls
- AC_CHECK_SIZEOF is now called mostly only in PHP_CHECK_STDINT_TYPES()
macro except for some parts checking for the 32 or 64 bit architecture.
- SIZEOF_CHAR removed since it is always 1
- ZEND_BIN_ID is now of a more logical pattern `BIN_48888` on 64bit
architectures and `BIN_44444` on 32bit instead of literal string
`BIN_SIZEOF_CHAR48888` on 64bit and `BIN_SIZEOF_CHAR44444` on 32bit.
The unneeded SIZEOF_CHAR part has been removed.
- XMLRPC_TYPE_CHECKS removed
- The `long long int` is the same as `long long` and redundant checks
removed accordingly.
- Removed PHP_CHECK_64BIT macro. Checking if current platform is 64bit
or not can be also done simply by using a check of the long type on
place. This removes redundant m4 macro PHP_CHECK_64BIT.
Diffstat (limited to 'ext/xmlrpc')
| -rw-r--r-- | ext/xmlrpc/libxmlrpc/acinclude.m4 | 10 | ||||
| -rw-r--r-- | ext/xmlrpc/libxmlrpc/xmlrpc.m4 | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/ext/xmlrpc/libxmlrpc/acinclude.m4 b/ext/xmlrpc/libxmlrpc/acinclude.m4 index 0c63d95356..0b730fa36d 100644 --- a/ext/xmlrpc/libxmlrpc/acinclude.m4 +++ b/ext/xmlrpc/libxmlrpc/acinclude.m4 @@ -9,13 +9,3 @@ AC_CHECK_FUNCS(strtoul strtoull) AC_DEFUN([XMLRPC_HEADER_CHECKS],[ AC_CHECK_HEADERS(xmlparse.h xmltok.h strings.h) ]) - -AC_DEFUN([XMLRPC_TYPE_CHECKS],[ - -AC_REQUIRE([AC_C_INLINE]) -AC_CHECK_SIZEOF(char, 1) - -AC_CHECK_SIZEOF(int, 4) -AC_CHECK_SIZEOF(long, 4) -AC_CHECK_SIZEOF(long long, 8) -]) diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc.m4 b/ext/xmlrpc/libxmlrpc/xmlrpc.m4 index 955376072f..5e9552b3c1 100644 --- a/ext/xmlrpc/libxmlrpc/xmlrpc.m4 +++ b/ext/xmlrpc/libxmlrpc/xmlrpc.m4 @@ -7,6 +7,5 @@ AC_REQUIRE([AC_PROG_RANLIB]) AC_DEFINE(UNDEF_THREADS_HACK,,[ ]) XMLRPC_HEADER_CHECKS -XMLRPC_TYPE_CHECKS XMLRPC_FUNCTION_CHECKS ]) |
