]> granicus.if.org Git - php/commit
Sync AC_CHECK_SIZEOF m4 macro calls
authorPeter Kokot <peterkokot@gmail.com>
Thu, 14 Mar 2019 22:21:17 +0000 (23:21 +0100)
committerPeter Kokot <peterkokot@gmail.com>
Mon, 18 Mar 2019 01:11:23 +0000 (02:11 +0100)
commitccc29473ecdb07d9735e7b6361b7daeec6c3ede1
treeb359c40cbd61053f672c598ec0275ae9e7938de2
parentb6f9ade9f201c852430689caf8ed8af0ded0159a
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.
12 files changed:
acinclude.m4
configure.ac
ext/hash/config.m4
ext/ldap/config.m4
ext/mysqlnd/config-win.h
ext/oci8/config.m4
ext/opcache/ZendAccelerator.c
ext/pdo_oci/config.m4
ext/xmlrpc/libxmlrpc/acinclude.m4
ext/xmlrpc/libxmlrpc/xmlrpc.m4
main/snprintf.h
win32/build/config.w32.h.in