File tree 4 files changed +24
-6
lines changed
4 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ xmlrpc_ext_shared=$ext_shared
15
15
PHP_ARG_WITH(expat-dir, libexpat dir for XMLRPC-EPI,
16
16
[ --with-expat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI.] )
17
17
18
+ PHP_ARG_WITH(iconv-dir, iconv dir for XMLRPC-EPI,
19
+ [ --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI.] )
20
+
18
21
if test "$PHP_XMLRPC" != "no"; then
19
22
20
23
PHP_SUBST(XMLRPC_SHARED_LIBADD)
@@ -34,9 +37,14 @@ if test "$PHP_XMLRPC" != "no"; then
34
37
AC_MSG_ERROR ( XML-RPC support requires libexpat. Use -- with-expat-dir=<DIR> )
35
38
fi
36
39
40
+ if test "$PHP_ICONV_DIR" != "no"; then
41
+ PHP_ICONV=$PHP_ICONV_DIR
42
+ fi
43
+
37
44
if test "$PHP_ICONV" = "no"; then
38
45
PHP_ICONV=yes
39
46
fi
47
+
40
48
PHP_SETUP_ICONV(XMLRPC_SHARED_LIBADD, [ ] , [
41
49
AC_MSG_ERROR ( [ iconv not found, in order to build xmlrpc you need the iconv library] )
42
50
] )
Original file line number Diff line number Diff line change 59
59
* of null, when the right thing may be no value at all. (SOAP) *
60
60
**********************************************************************/
61
61
62
+ #ifdef HAVE_CONFIG_H
63
+ #include "config.h"
64
+ #endif
65
+
62
66
#include "php.h"
63
67
#include "ext/standard/info.h"
64
68
#include "php_ini.h"
65
69
#include "php_xmlrpc.h"
66
- #ifndef PHP_WIN32
67
- #include "php_config.h"
68
- #endif
69
70
#include "xmlrpc.h"
70
71
71
72
#define PHP_EXT_VERSION "0.51"
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ xmlrpc_ext_shared=$ext_shared
15
15
PHP_ARG_WITH(expat-dir, libexpat dir for XMLRPC-EPI,
16
16
[ --with-expat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI.] )
17
17
18
+ PHP_ARG_WITH(iconv-dir, iconv dir for XMLRPC-EPI,
19
+ [ --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI.] )
20
+
18
21
if test "$PHP_XMLRPC" != "no"; then
19
22
20
23
PHP_SUBST(XMLRPC_SHARED_LIBADD)
@@ -34,9 +37,14 @@ if test "$PHP_XMLRPC" != "no"; then
34
37
AC_MSG_ERROR ( XML-RPC support requires libexpat. Use -- with-expat-dir=<DIR> )
35
38
fi
36
39
40
+ if test "$PHP_ICONV_DIR" != "no"; then
41
+ PHP_ICONV=$PHP_ICONV_DIR
42
+ fi
43
+
37
44
if test "$PHP_ICONV" = "no"; then
38
45
PHP_ICONV=yes
39
46
fi
47
+
40
48
PHP_SETUP_ICONV(XMLRPC_SHARED_LIBADD, [ ] , [
41
49
AC_MSG_ERROR ( [ iconv not found, in order to build xmlrpc you need the iconv library] )
42
50
] )
Original file line number Diff line number Diff line change 59
59
* of null, when the right thing may be no value at all. (SOAP) *
60
60
**********************************************************************/
61
61
62
+ #ifdef HAVE_CONFIG_H
63
+ #include "config.h"
64
+ #endif
65
+
62
66
#include "php.h"
63
67
#include "ext/standard/info.h"
64
68
#include "php_ini.h"
65
69
#include "php_xmlrpc.h"
66
- #ifndef PHP_WIN32
67
- #include "php_config.h"
68
- #endif
69
70
#include "xmlrpc.h"
70
71
71
72
#define PHP_EXT_VERSION "0.51"
You can’t perform that action at this time.
0 commit comments