diff options
author | Stanislaw Kardach <skardach@marvell.com> | 2020-09-03 15:34:33 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2020-09-07 13:38:00 +0300 |
commit | 8d3c458848294495a1e7a45846d659a384ab69e3 (patch) | |
tree | d56d5a8b537041bfd444a7d76db3ef5f956b84fe /example/m4 | |
parent | 4394b1b1f33159bad4f71bc46fd405a6a948c96a (diff) |
build: re-format autoconf argument defaults
Make sure that all autoconf arguments defined by ODP use default value
description similar to built-in arguments. That is: [default=<value>].
Also make sure that all arguments use AS_HELP_STRING for uniform text
formatting.
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'example/m4')
-rw-r--r-- | example/m4/configure.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/example/m4/configure.m4 b/example/m4/configure.m4 index ab8b8b04d..d9a70767b 100644 --- a/example/m4/configure.m4 +++ b/example/m4/configure.m4 @@ -3,7 +3,8 @@ ########################################################################## AC_ARG_WITH([examples], [AS_HELP_STRING([--without-examples], - [don't build and install example applications])], + [don't build and install example applications] + [[default=with]])], [], [with_examples=yes]) AM_CONDITIONAL([WITH_EXAMPLES], [test x$with_examples != xno]) @@ -12,7 +13,8 @@ AM_CONDITIONAL([WITH_EXAMPLES], [test x$with_examples != xno]) # Test examples during 'make check' ########################################################################## AC_ARG_ENABLE([test-example], - [AS_HELP_STRING([--enable-test-example], [run basic test against examples])], + [AS_HELP_STRING([--enable-test-example], + [run basic test against examples [default=enabled]])], [test_example=$enableval], [test_example=yes]) AM_CONDITIONAL([test_example], [test x$test_example = xyes ]) |