diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2019-04-23 00:20:50 +0200 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2019-04-23 20:17:33 +0200 |
| commit | 96a9fb20522fd92295b6191ff57deaa671f0bea5 (patch) | |
| tree | 278f34795859f2679b1b63d55067543d536cd099 /ext/xmlrpc/libxmlrpc | |
| parent | 3cfbbf29561f931560e108fb47bbdef84e12fd5f (diff) | |
| download | php-git-96a9fb20522fd92295b6191ff57deaa671f0bea5.tar.gz | |
Simplify libxmlrpc bundling and building
The xmlrpc library is a forked, modified and bundled into the PHP source
code. Instead of having a separate *nix build system files in the xmlrpc
library this patch removes unneeded build checks.
- AC_PROG_CC is not needed to be called by the extension itself since it
is already part of the main configure.ac and the phpize's
configure.ac.
- UNDEF_THREADS_HACK is not used in the current codebase.
- Symbols defined by XMLRPC_HEADER_CHECKS are not used in the current
code.
- Symbols defined by XMLRPC_FUNCTION_CHECKS are not used in the current
code.
- AC_PROG_RANLIB is already done by the TSRM's files and isn't needed
for the xmlrpc extension to work.
- AC_PROG_LN_S is already done by the PHP main configure.ac and also
isn't needed by the xmlrpc extension to be built.
Diffstat (limited to 'ext/xmlrpc/libxmlrpc')
| -rw-r--r-- | ext/xmlrpc/libxmlrpc/acinclude.m4 | 11 | ||||
| -rw-r--r-- | ext/xmlrpc/libxmlrpc/xmlrpc.m4 | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/ext/xmlrpc/libxmlrpc/acinclude.m4 b/ext/xmlrpc/libxmlrpc/acinclude.m4 deleted file mode 100644 index 0b730fa36d..0000000000 --- a/ext/xmlrpc/libxmlrpc/acinclude.m4 +++ /dev/null @@ -1,11 +0,0 @@ -# Local macros for autoconf - -AC_DEFUN([XMLRPC_FUNCTION_CHECKS],[ - -# Standard XMLRPC list -AC_CHECK_FUNCS(strtoul strtoull) -]) - -AC_DEFUN([XMLRPC_HEADER_CHECKS],[ -AC_CHECK_HEADERS(xmlparse.h xmltok.h strings.h) -]) diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc.m4 b/ext/xmlrpc/libxmlrpc/xmlrpc.m4 deleted file mode 100644 index 5e9552b3c1..0000000000 --- a/ext/xmlrpc/libxmlrpc/xmlrpc.m4 +++ /dev/null @@ -1,11 +0,0 @@ -AC_DEFUN([XMLRPC_CHECKS],[ - -AC_REQUIRE([AC_PROG_CC]) -AC_REQUIRE([AC_PROG_LN_S]) -AC_REQUIRE([AC_PROG_RANLIB]) - -AC_DEFINE(UNDEF_THREADS_HACK,,[ ]) - -XMLRPC_HEADER_CHECKS -XMLRPC_FUNCTION_CHECKS -]) |
