10 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -441,6 +441,10 @@ The following extensions are affected:
441
441
. --with-webp-dir becomes --with-webp.
442
442
. --with-xpm-dir becomes --with-xpm.
443
443
444
+ - Libxml:
445
+ . --with-libxml-dir has been removed.
446
+ . --enable-libxml becomes --with-libxml.
447
+
444
448
========================================
445
449
14. Other Changes
446
450
========================================
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ PHP_ARG_ENABLE([dom],
9
9
if test "$PHP_DOM" != "no"; then
10
10
11
11
if test "$PHP_LIBXML" = "no"; then
12
- AC_MSG_ERROR ( [ DOM extension requires LIBXML extension, add --enable -libxml] )
12
+ AC_MSG_ERROR ( [ DOM extension requires LIBXML extension, add --with -libxml] )
13
13
fi
14
14
15
15
PHP_SETUP_LIBXML(DOM_SHARED_LIBADD, [
Original file line number Diff line number Diff line change 1
1
dnl config.m4 for extension libxml
2
2
3
- PHP_ARG_ENABLE ([ libxml] ,
4
- [ whether to enable LIBXML support] ,
5
- [ AS_HELP_STRING ( [ --disable -libxml] ,
6
- [ Disable LIBXML support] ) ] ,
3
+ PHP_ARG_WITH ([ libxml] ,
4
+ [ whether to build with LIBXML support] ,
5
+ [ AS_HELP_STRING ( [ --without -libxml] ,
6
+ [ Build without LIBXML support] ) ] ,
7
7
[ yes] )
8
8
9
9
if test "$PHP_LIBXML" != "no"; then
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ PHP_ARG_ENABLE([simplexml],
9
9
if test "$PHP_SIMPLEXML" != "no"; then
10
10
11
11
if test "$PHP_LIBXML" = "no"; then
12
- AC_MSG_ERROR ( [ SimpleXML extension requires LIBXML extension, add --enable -libxml] )
12
+ AC_MSG_ERROR ( [ SimpleXML extension requires LIBXML extension, add --with -libxml] )
13
13
fi
14
14
15
15
PHP_SETUP_LIBXML(SIMPLEXML_SHARED_LIBADD, [
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ PHP_ARG_ENABLE([soap],
8
8
if test "$PHP_SOAP" != "no"; then
9
9
10
10
if test "$PHP_LIBXML" = "no"; then
11
- AC_MSG_ERROR ( [ SOAP extension requires LIBXML extension, add --enable -libxml] )
11
+ AC_MSG_ERROR ( [ SOAP extension requires LIBXML extension, add --with -libxml] )
12
12
fi
13
13
14
14
PHP_SETUP_LIBXML(SOAP_SHARED_LIBADD, [
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ if test "$PHP_XML" != "no"; then
21
21
if test "$PHP_LIBEXPAT_DIR" = "no"; then
22
22
23
23
if test "$PHP_LIBXML" = "no"; then
24
- AC_MSG_ERROR ( [ XML extension requires LIBXML extension, add --enable -libxml] )
24
+ AC_MSG_ERROR ( [ XML extension requires LIBXML extension, add --with -libxml] )
25
25
fi
26
26
27
27
PHP_SETUP_LIBXML(XML_SHARED_LIBADD, [
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ PHP_ARG_ENABLE([xmlreader],
9
9
if test "$PHP_XMLREADER" != "no"; then
10
10
11
11
if test "$PHP_LIBXML" = "no"; then
12
- AC_MSG_ERROR ( [ XMLReader extension requires LIBXML extension, add --enable -libxml] )
12
+ AC_MSG_ERROR ( [ XMLReader extension requires LIBXML extension, add --with -libxml] )
13
13
fi
14
14
15
15
PHP_SETUP_LIBXML(XMLREADER_SHARED_LIBADD, [
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ if test "$PHP_XMLRPC" != "no"; then
36
36
if test "$PHP_LIBEXPAT_DIR" = "no"; then
37
37
38
38
if test "$PHP_LIBXML" = "no"; then
39
- AC_MSG_ERROR ( [ XML-RPC extension requires LIBXML extension, add --enable -libxml] )
39
+ AC_MSG_ERROR ( [ XML-RPC extension requires LIBXML extension, add --with -libxml] )
40
40
fi
41
41
42
42
PHP_SETUP_LIBXML(XMLRPC_SHARED_LIBADD, [
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ PHP_ARG_ENABLE([xmlwriter],
9
9
if test "$PHP_XMLWRITER" != "no"; then
10
10
11
11
if test "$PHP_LIBXML" = "no"; then
12
- AC_MSG_ERROR ( [ XMLWriter extension requires LIBXML extension, add --enable -libxml] )
12
+ AC_MSG_ERROR ( [ XMLWriter extension requires LIBXML extension, add --with -libxml] )
13
13
fi
14
14
15
15
PHP_SETUP_LIBXML(XMLWRITER_SHARED_LIBADD, [
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ PHP_ARG_WITH([xsl],
9
9
if test "$PHP_XSL" != "no"; then
10
10
11
11
if test "$PHP_LIBXML" = "no"; then
12
- AC_MSG_ERROR ( [ XSL extension requires LIBXML extension, add --enable -libxml] )
12
+ AC_MSG_ERROR ( [ XSL extension requires LIBXML extension, add --with -libxml] )
13
13
fi
14
14
15
15
if test "$PHP_DOM" = "no"; then
0 commit comments