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/pdo_mysql | |
| 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/pdo_mysql')
| -rw-r--r-- | ext/pdo_mysql/config.m4 | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/ext/pdo_mysql/config.m4 b/ext/pdo_mysql/config.m4 index 4634626ae3..d638f03a28 100644 --- a/ext/pdo_mysql/config.m4 +++ b/ext/pdo_mysql/config.m4 @@ -1,13 +1,18 @@ dnl config.m4 for extension pdo_mysql -PHP_ARG_WITH(pdo-mysql, for MySQL support for PDO, -[ --with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory - If no value or mysqlnd is passed as DIR, the - MySQL native driver will be used]) +PHP_ARG_WITH([pdo-mysql], + [for MySQL support for PDO], + [AS_HELP_STRING([[--with-pdo-mysql[=DIR]]], + [PDO: MySQL support. DIR is the MySQL base directory. If no value or mysqlnd + is passed as DIR, the MySQL native driver will be used])]) if test -z "$PHP_ZLIB_DIR"; then - PHP_ARG_WITH(zlib-dir, for the location of libz, - [ --with-zlib-dir[=DIR] PDO_MySQL: Set the path to libz install prefix], no, no) + PHP_ARG_WITH([zlib-dir], + [for the location of libz], + [AS_HELP_STRING([[--with-zlib-dir[=DIR]]], + [PDO_MySQL: Set the path to libz install prefix])], + [no], + [no]) fi if test "$PHP_PDO_MYSQL" != "no"; then |
