summaryrefslogtreecommitdiff
path: root/ext/posix
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/posix
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/posix')
-rw-r--r--ext/posix/config.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/posix/config.m4 b/ext/posix/config.m4
index dccdcd69a4..f56f6c60cd 100644
--- a/ext/posix/config.m4
+++ b/ext/posix/config.m4
@@ -1,7 +1,10 @@
dnl config.m4 for extension posix
-PHP_ARG_ENABLE(posix,whether to enable POSIX-like functions,
-[ --disable-posix Disable POSIX-like functions], yes)
+PHP_ARG_ENABLE([posix],
+ [whether to enable POSIX-like functions],
+ [AS_HELP_STRING([--disable-posix],
+ [Disable POSIX-like functions])],
+ [yes])
if test "$PHP_POSIX" = "yes"; then
AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions])