[PATCH 2/2] configure: use --disable-tests, since default is enabled

Kristian Høgsberg krh at bitplanet.net
Tue Jan 31 06:42:13 PST 2012


On Tue, Jan 31, 2012 at 9:35 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> Add a nice help text, too.

Much better, thanks.
Kristian

> Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
> ---
>  configure.ac |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 8478097..7bc9881 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -149,7 +149,10 @@ AC_ARG_ENABLE(tablet-shell, [  --enable-tablet-shell],,
>  AM_CONDITIONAL(ENABLE_TABLET_SHELL,
>               test x$enable_tablet_shell == xyes)
>
> -AC_ARG_ENABLE(tests, [  --enable-tests],,enable_tests=yes)
> +AC_ARG_ENABLE(tests,
> +             AS_HELP_STRING([--disable-tests],
> +                            [do not build unit tests [default=enabled]]),,
> +             enable_tests=yes)
>  AM_CONDITIONAL(BUILD_TESTS, test x$enable_tests == xyes)
>
>  if test "x$GCC" = "xyes"; then
> --
> 1.7.3.4
>


More information about the wayland-devel mailing list