|
1 | 1 | dnl config.m4 for extension mongodb
|
2 |
| -PHP_ARG_ENABLE(mongodb, whether to enable mongodb support, |
3 |
| -[ --enable-mongodb Enable mongodb support]) |
| 2 | +PHP_ARG_ENABLE([mongodb], |
| 3 | + [whether to enable MongoDB support], |
| 4 | + [AC_HELP_STRING([--enable-mongodb], |
| 5 | + [Enable MongoDB support])]) |
4 | 6 |
|
5 | 7 | dnl borrowed from libmongoc configure.ac
|
6 | 8 | dnl AS_VAR_COPY is available in AC 2.64 and on, but we only require 2.60.
|
@@ -88,8 +90,12 @@ if test "$PHP_MONGODB" != "no"; then
|
88 | 90 | AC_MSG_ERROR([not supported. Need a PHP version >= 5.5.0 (found $PHP_MONGODB_FOUND_VERSION)])
|
89 | 91 | fi
|
90 | 92 |
|
91 |
| - PHP_ARG_ENABLE(developer-flags, whether to enable developer build flags, |
92 |
| - [ --enable-developer-flags Enable developer flags],, no) |
| 93 | + PHP_ARG_ENABLE([developer-flags], |
| 94 | + [whether to enable developer build flags], |
| 95 | + [AC_HELP_STRING([--enable-developer-flags], |
| 96 | + [MongoDB: Enable developer flags])], |
| 97 | + [], |
| 98 | + [no]) |
93 | 99 |
|
94 | 100 | if test "$PHP_DEVELOPER_FLAGS" = "yes"; then
|
95 | 101 | dnl Warn about functions which might be candidates for format attributes
|
@@ -140,8 +146,12 @@ if test "$PHP_MONGODB" != "no"; then
|
140 | 146 | fi
|
141 | 147 |
|
142 | 148 |
|
143 |
| - PHP_ARG_ENABLE(coverage, whether to enable code coverage, |
144 |
| - [ --enable-coverage Enable developer code coverage information],, no) |
| 149 | + PHP_ARG_ENABLE([coverage], |
| 150 | + [whether to enable code coverage], |
| 151 | + [AC_HELP_STRING([--enable-coverage], |
| 152 | + [MongoDB: Enable developer code coverage information])], |
| 153 | + [], |
| 154 | + [no]) |
145 | 155 |
|
146 | 156 | if test "$PHP_COVERAGE" = "yes"; then
|
147 | 157 | PHP_CHECK_GCC_ARG(-fprofile-arcs, COVERAGE_CFLAGS="$COVERAGE_CFLAGS -fprofile-arcs")
|
@@ -217,9 +227,9 @@ if test "$PHP_MONGODB" != "no"; then
|
217 | 227 | "
|
218 | 228 |
|
219 | 229 | PHP_ARG_WITH(libbson, whether to use system libbson,
|
220 |
| - [ --with-libbson Use system libbson], no, no) |
| 230 | + [ --with-libbson MongoDB: Use system libbson], no, no) |
221 | 231 | PHP_ARG_WITH(libmongoc, whether to use system libmongoc,
|
222 |
| - [ --with-libmongoc Use system libmongoc], no, no) |
| 232 | + [ --with-libmongoc MongoDB: Use system libmongoc], no, no) |
223 | 233 |
|
224 | 234 | if test "$PHP_LIBBSON" != "no"; then
|
225 | 235 | if test "$PHP_LIBMONGOC" = "no"; then
|
@@ -326,7 +336,7 @@ if test "$PHP_MONGODB" != "no"; then
|
326 | 336 |
|
327 | 337 |
|
328 | 338 | PHP_ARG_WITH(mongodb-sasl, for Cyrus SASL support,
|
329 |
| - [ --with-mongodb-sasl[=DIR] mongodb: Include Cyrus SASL support], auto, no) |
| 339 | + [ --with-mongodb-sasl[=DIR] MongoDB: Include Cyrus SASL support], auto, no) |
330 | 340 |
|
331 | 341 | AC_SUBST(MONGOC_ENABLE_SASL, 0)
|
332 | 342 | AC_SUBST(MONGOC_HAVE_SASL_CLIENT_DONE, 0)
|
|
0 commit comments