diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2019-03-03 16:44:16 +0100 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2019-03-07 20:36:59 +0100 |
| commit | 9df6a1e4dd84a39bfaec70d7d008b61f7bbae347 (patch) | |
| tree | e2fab1605436e20d798d7b8c17ec84aa8c28d25b /ext/xmlrpc | |
| parent | 2580a7ba092b4ed9f4a9860d911e2e17ec545ef5 (diff) | |
| download | php-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/xmlrpc')
| -rw-r--r-- | ext/xmlrpc/config.m4 | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/ext/xmlrpc/config.m4 b/ext/xmlrpc/config.m4 index 206924204d..cf9a3111e7 100644 --- a/ext/xmlrpc/config.m4 +++ b/ext/xmlrpc/config.m4 @@ -5,19 +5,33 @@ sinclude(ext/xmlrpc/libxmlrpc/xmlrpc.m4) sinclude(libxmlrpc/acinclude.m4) sinclude(libxmlrpc/xmlrpc.m4) -PHP_ARG_WITH(xmlrpc, for XMLRPC-EPI support, -[ --with-xmlrpc[=DIR] Include XMLRPC-EPI support]) +PHP_ARG_WITH([xmlrpc], + [for XMLRPC-EPI support], + [AS_HELP_STRING([[--with-xmlrpc[=DIR]]], + [Include XMLRPC-EPI support])]) if test -z "$PHP_LIBXML_DIR"; then - PHP_ARG_WITH(libxml-dir, libxml2 install dir, - [ --with-libxml-dir=DIR XMLRPC-EPI: libxml2 install prefix], no, no) + PHP_ARG_WITH([libxml-dir], + [libxml2 install dir], + [AS_HELP_STRING([--with-libxml-dir=DIR], + [XMLRPC-EPI: libxml2 install prefix])], + [no], + [no]) fi -PHP_ARG_WITH(libexpat-dir, libexpat dir for XMLRPC-EPI, -[ --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)],no,no) - -PHP_ARG_WITH(iconv-dir, iconv dir for XMLRPC-EPI, -[ --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI],no,no) +PHP_ARG_WITH([libexpat-dir], + [libexpat dir for XMLRPC-EPI], + [AS_HELP_STRING([--with-libexpat-dir=DIR], + [XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)])], + [no], + [no]) + +PHP_ARG_WITH([iconv-dir], + [iconv dir for XMLRPC-EPI], + [AS_HELP_STRING([--with-iconv-dir=DIR], + [XMLRPC-EPI: iconv dir for XMLRPC-EPI])], + [no], + [no]) if test "$PHP_XMLRPC" != "no"; then |
