mirror of
https://github.com/brl/mutter.git
synced 2025-03-29 14:43:47 +00:00
cogl debug: Support "minimum" level debugging by default
We basically want all Clutter applications out in the wild to at least have the basic set of COGL_DEBUG/--cogl-debug options available for investigating issues.
This commit is contained in:
parent
511e5ceb51
commit
a58d6e8ee5
@ -642,7 +642,7 @@ AS_CASE([$enable_debug],
|
|||||||
|
|
||||||
AC_SUBST(CLUTTER_DEBUG_CFLAGS)
|
AC_SUBST(CLUTTER_DEBUG_CFLAGS)
|
||||||
|
|
||||||
m4_define([cogl_debug_default], [m4_if(m4_eval(clutter_minor_version % 2), [1], [minimum], [no])])
|
m4_define([cogl_debug_default], [minimum])
|
||||||
AC_ARG_ENABLE([cogl-debug],
|
AC_ARG_ENABLE([cogl-debug],
|
||||||
[AC_HELP_STRING([--enable-cogl-debug=@<:@no/yes@:>@],
|
[AC_HELP_STRING([--enable-cogl-debug=@<:@no/yes@:>@],
|
||||||
[Control COGL debugging level @<:@default=cogl_debug_default@:>@])],
|
[Control COGL debugging level @<:@default=cogl_debug_default@:>@])],
|
||||||
@ -721,7 +721,7 @@ AC_MSG_CHECKING([whether to build with gcov testing])
|
|||||||
|
|
||||||
AC_ARG_ENABLE([gcov],
|
AC_ARG_ENABLE([gcov],
|
||||||
[AS_HELP_STRING([--enable-gcov],
|
[AS_HELP_STRING([--enable-gcov],
|
||||||
[Whether to enable coverage testing (requires gcc
|
[Whether to enable coverage testing (requires gcc
|
||||||
and gcov)])],
|
and gcov)])],
|
||||||
[],
|
[],
|
||||||
[enable_gcov=no])
|
[enable_gcov=no])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user