Skip to content

Commit 9f0c9b7

Browse files
hughmcmasternikic
authored andcommittedApr 18, 2019
Rename --enable-libxml to --with-libxml to meet naming guidelines
1 parent cc930cd commit 9f0c9b7

File tree

10 files changed

+16
-12
lines changed

10 files changed

+16
-12
lines changed
 

‎UPGRADING

+4
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,10 @@ The following extensions are affected:
441441
. --with-webp-dir becomes --with-webp.
442442
. --with-xpm-dir becomes --with-xpm.
443443

444+
- Libxml:
445+
. --with-libxml-dir has been removed.
446+
. --enable-libxml becomes --with-libxml.
447+
444448
========================================
445449
14. Other Changes
446450
========================================

‎ext/dom/config.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PHP_ARG_ENABLE([dom],
99
if test "$PHP_DOM" != "no"; then
1010

1111
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])
1313
fi
1414

1515
PHP_SETUP_LIBXML(DOM_SHARED_LIBADD, [

‎ext/libxml/config0.m4

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
dnl config.m4 for extension libxml
22

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])],
77
[yes])
88

99
if test "$PHP_LIBXML" != "no"; then

‎ext/simplexml/config.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PHP_ARG_ENABLE([simplexml],
99
if test "$PHP_SIMPLEXML" != "no"; then
1010

1111
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])
1313
fi
1414

1515
PHP_SETUP_LIBXML(SIMPLEXML_SHARED_LIBADD, [

‎ext/soap/config.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PHP_ARG_ENABLE([soap],
88
if test "$PHP_SOAP" != "no"; then
99

1010
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])
1212
fi
1313

1414
PHP_SETUP_LIBXML(SOAP_SHARED_LIBADD, [

‎ext/xml/config.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if test "$PHP_XML" != "no"; then
2121
if test "$PHP_LIBEXPAT_DIR" = "no"; then
2222

2323
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])
2525
fi
2626

2727
PHP_SETUP_LIBXML(XML_SHARED_LIBADD, [

‎ext/xmlreader/config.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PHP_ARG_ENABLE([xmlreader],
99
if test "$PHP_XMLREADER" != "no"; then
1010

1111
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])
1313
fi
1414

1515
PHP_SETUP_LIBXML(XMLREADER_SHARED_LIBADD, [

‎ext/xmlrpc/config.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if test "$PHP_XMLRPC" != "no"; then
3636
if test "$PHP_LIBEXPAT_DIR" = "no"; then
3737

3838
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])
4040
fi
4141

4242
PHP_SETUP_LIBXML(XMLRPC_SHARED_LIBADD, [

‎ext/xmlwriter/config.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PHP_ARG_ENABLE([xmlwriter],
99
if test "$PHP_XMLWRITER" != "no"; then
1010

1111
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])
1313
fi
1414

1515
PHP_SETUP_LIBXML(XMLWRITER_SHARED_LIBADD, [

‎ext/xsl/config.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PHP_ARG_WITH([xsl],
99
if test "$PHP_XSL" != "no"; then
1010

1111
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])
1313
fi
1414

1515
if test "$PHP_DOM" = "no"; then

0 commit comments

Comments
 (0)
Failed to load comments.