]> git.pld-linux.org Git - packages/php.git/blob - php-xmlrpc-includes.patch
- change extension_dir to /usr/lib/php in php-ini.patch
[packages/php.git] / php-xmlrpc-includes.patch
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
3 @@ -57,12 +57,18 @@
4  
5    if test -r $PHP_XMLRPC/include/xmlrpc.h; then
6      XMLRPC_DIR=$PHP_XMLRPC
7 +    XMLRPC_INC=$$XMLRPC_DIR/include
8    else
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
12          XMLRPC_DIR=$i
13 +       XMLRPC_INC=$i/include
14          AC_MSG_RESULT(found in $i)
15 +      elif test -r $i/include/xmlrpc-epi/xmlrpc.h; then
16 +       XMLRPC_DIR=$i
17 +       XMLRPC_INC=$i/include/xmlrpc-epi
18 +       AC_MSG_RESULT([found in $i, includes in $i/include/xmlrpc-epi])
19        fi
20      done
21    fi
22 @@ -72,7 +78,7 @@
23      AC_MSG_ERROR(Please reinstall the XMLRPC-EPI distribution)
24    fi
25  
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)
29    
30  fi
This page took 0.023619 seconds and 3 git commands to generate.