From 6f50bdfd9ee51a03367a3aa4f5c6bf13bd8a2c4b Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 2 Feb 2024 17:26:24 +0100 Subject: [PATCH] Use AS_HELP_STRING for indented configure --help output --- config.m4 | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/config.m4 b/config.m4 index 11c7a193..4ee4bca6 100644 --- a/config.m4 +++ b/config.m4 @@ -1,13 +1,22 @@ dnl config.m4 for the solr extension -PHP_ARG_ENABLE(solr, whether to enable the Solr extension, -[ --enable-solr Enable solr support]) - -PHP_ARG_ENABLE(solr-debug, whether to compile with solr in verbose mode, -[ --enable-solr-debug Compile with solr in verbose mode], no, no) - -PHP_ARG_ENABLE(coverage, whether to enable code coverage, - [ --enable-coverage Enable developer code coverage information],, no) +PHP_ARG_ENABLE([solr], + [whether to enable the Solr extension], + [AS_HELP_STRING([--enable-solr], + [Enable solr support])]) + +PHP_ARG_ENABLE([solr-debug], + [whether to compile with solr in verbose mode], + [AS_HELP_STRING([--enable-solr-debug], + [Compile with solr in verbose mode])], + [no], + [no]) + +PHP_ARG_ENABLE([coverage], + [whether to enable code coverage], + [AS_HELP_STRING([--enable-coverage], + [Enable developer code coverage information])],, + [no]) dnl Setting up the apache Solr extension if test "$PHP_SOLR" != "no"; then