1 --- php-4.2.1/ext/xmlrpc/config.m4.orig Tue Mar 26 01:15:29 2002
2 +++ php-4.2.1/ext/xmlrpc/config.m4 Tue May 14 17:48:54 2002
5 if test -r $PHP_XMLRPC/include/xmlrpc.h; then
7 + XMLRPC_INC=$$XMLRPC_DIR/include
9 AC_MSG_CHECKING(for XMLRPC-EPI in default path)
10 for i in /usr/local /usr; do
11 if test -r $i/include/xmlrpc.h; then
13 + XMLRPC_INC=$i/include
14 AC_MSG_RESULT(found in $i)
15 + elif test -r $i/include/xmlrpc-epi/xmlrpc.h; then
17 + XMLRPC_INC=$i/include/xmlrpc-epi
18 + AC_MSG_RESULT([found in $i, includes in $i/include/xmlrpc-epi])
23 AC_MSG_ERROR(Please reinstall the XMLRPC-EPI distribution)
26 - PHP_ADD_INCLUDE($XMLRPC_DIR/include)
27 + PHP_ADD_INCLUDE($XMLRPC_INC)
28 PHP_ADD_LIBRARY_WITH_PATH(xmlrpc, $XMLRPC_DIR/lib, XMLRPC_SHARED_LIBADD)