summaryrefslogtreecommitdiff
path: root/ext/xmlreader
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-03-03 16:44:16 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-03-07 20:36:59 +0100
commit9df6a1e4dd84a39bfaec70d7d008b61f7bbae347 (patch)
treee2fab1605436e20d798d7b8c17ec84aa8c28d25b /ext/xmlreader
parent2580a7ba092b4ed9f4a9860d911e2e17ec545ef5 (diff)
downloadphp-git-9df6a1e4dd84a39bfaec70d7d008b61f7bbae347.tar.gz
Add AS_HELP_STRING to *nix build configure options
The Autoconf's default AS_HELP_STRING macro can properly format help strings [1] so watching out if columns are aligned manually is not anymore. [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
Diffstat (limited to 'ext/xmlreader')
-rw-r--r--ext/xmlreader/config.m415
1 files changed, 11 insertions, 4 deletions
diff --git a/ext/xmlreader/config.m4 b/ext/xmlreader/config.m4
index d9dacf99ae..5bc768a3b0 100644
--- a/ext/xmlreader/config.m4
+++ b/ext/xmlreader/config.m4
@@ -1,11 +1,18 @@
dnl config.m4 for extension xmlreader
-PHP_ARG_ENABLE(xmlreader, whether to enable XMLReader support,
-[ --disable-xmlreader Disable XMLReader support], yes)
+PHP_ARG_ENABLE([xmlreader],
+ [whether to enable XMLReader support],
+ [AS_HELP_STRING([--disable-xmlreader],
+ [Disable XMLReader support])],
+ [yes])
if test -z "$PHP_LIBXML_DIR"; then
- PHP_ARG_WITH(libxml-dir, libxml2 install dir,
- [ --with-libxml-dir=DIR XMLReader: libxml2 install prefix], no, no)
+ PHP_ARG_WITH([libxml-dir],
+ [libxml2 install dir],
+ [AS_HELP_STRING([--with-libxml-dir=DIR],
+ [XMLReader: libxml2 install prefix])],
+ [no],
+ [no])
fi
if test "$PHP_XMLREADER" != "no"; then