Skip to content

Commit 96a9fb2

Browse files
committed
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.
1 parent 3cfbbf2 commit 96a9fb2

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

ext/xmlrpc/config.m4

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
dnl config.m4 for extension xmlrpc
22

3-
sinclude(ext/xmlrpc/libxmlrpc/acinclude.m4)
4-
sinclude(ext/xmlrpc/libxmlrpc/xmlrpc.m4)
5-
sinclude(libxmlrpc/acinclude.m4)
6-
sinclude(libxmlrpc/xmlrpc.m4)
7-
83
PHP_ARG_WITH([xmlrpc],
94
[for XMLRPC-EPI support],
105
[AS_HELP_STRING([[--with-xmlrpc[=DIR]]],
@@ -80,7 +75,6 @@ if test "$PHP_XMLRPC" != "no"; then
8075
fi
8176

8277
if test "$PHP_XMLRPC" = "yes"; then
83-
XMLRPC_CHECKS
8478
PHP_NEW_EXTENSION(xmlrpc,xmlrpc-epi-php.c libxmlrpc/base64.c \
8579
libxmlrpc/simplestring.c libxmlrpc/xml_to_dandarpc.c \
8680
libxmlrpc/xmlrpc_introspection.c libxmlrpc/encodings.c \

ext/xmlrpc/libxmlrpc/acinclude.m4

Lines changed: 0 additions & 11 deletions
This file was deleted.

ext/xmlrpc/libxmlrpc/xmlrpc.m4

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)