Skip to content

Commit 6f50bdf

Browse files
committed
Use AS_HELP_STRING for indented configure --help output
1 parent 59a888d commit 6f50bdf

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

config.m4

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
dnl config.m4 for the solr extension
22

3-
PHP_ARG_ENABLE(solr, whether to enable the Solr extension,
4-
[ --enable-solr Enable solr support])
5-
6-
PHP_ARG_ENABLE(solr-debug, whether to compile with solr in verbose mode,
7-
[ --enable-solr-debug Compile with solr in verbose mode], no, no)
8-
9-
PHP_ARG_ENABLE(coverage, whether to enable code coverage,
10-
[ --enable-coverage Enable developer code coverage information],, no)
3+
PHP_ARG_ENABLE([solr],
4+
[whether to enable the Solr extension],
5+
[AS_HELP_STRING([--enable-solr],
6+
[Enable solr support])])
7+
8+
PHP_ARG_ENABLE([solr-debug],
9+
[whether to compile with solr in verbose mode],
10+
[AS_HELP_STRING([--enable-solr-debug],
11+
[Compile with solr in verbose mode])],
12+
[no],
13+
[no])
14+
15+
PHP_ARG_ENABLE([coverage],
16+
[whether to enable code coverage],
17+
[AS_HELP_STRING([--enable-coverage],
18+
[Enable developer code coverage information])],,
19+
[no])
1120

1221
dnl Setting up the apache Solr extension
1322
if test "$PHP_SOLR" != "no"; then

0 commit comments

Comments
 (0)