Skip to content

Commit

Permalink
Merge pull request #73 from petk/patch-configure-help-output
Browse files Browse the repository at this point in the history
Use AS_HELP_STRING for indented configure --help output
  • Loading branch information
omars44 authored May 15, 2024
2 parents 59a888d + 6f50bdf commit 08bea87
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions config.m4
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 08bea87

Please sign in to comment.