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/ftp | |
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/ftp')
-rw-r--r-- | ext/ftp/config.m4 | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/ext/ftp/config.m4 b/ext/ftp/config.m4 index b7f58b651f..a9b9371741 100644 --- a/ext/ftp/config.m4 +++ b/ext/ftp/config.m4 @@ -1,10 +1,16 @@ dnl config.m4 for extension ftp -PHP_ARG_ENABLE(ftp,whether to enable FTP support, -[ --enable-ftp Enable FTP support]) +PHP_ARG_ENABLE([ftp], + [whether to enable FTP support], + [AS_HELP_STRING([--enable-ftp], + [Enable FTP support])]) -PHP_ARG_WITH(openssl-dir,OpenSSL dir for FTP, -[ --with-openssl-dir[=DIR] FTP: openssl install prefix], no, no) +PHP_ARG_WITH([openssl-dir], + [OpenSSL dir for FTP], + [AS_HELP_STRING([[--with-openssl-dir[=DIR]]], + [FTP: openssl install prefix])], + [no], + [no]) if test "$PHP_FTP" = "yes"; then AC_DEFINE(HAVE_FTP,1,[Whether you want FTP support]) |