build: Set G_ENABLE_DEBUG for minimal --enable-debug=minimum
With that flag set, we get GDK_DEBUG and GTK_DEBUG support. And those provide useful features we want when debugging.
This commit is contained in:
@ -422,7 +422,7 @@ else
|
|||||||
if test "x$enable_debug" = "xno"; then
|
if test "x$enable_debug" = "xno"; then
|
||||||
GTK_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
|
GTK_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
|
||||||
else
|
else
|
||||||
GTK_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
|
GTK_DEBUG_FLAGS="-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -58,8 +58,8 @@ warning that occurs.
|
|||||||
<para>
|
<para>
|
||||||
A list of <link linkend="GTK-Debug-Options">debug options</link>
|
A list of <link linkend="GTK-Debug-Options">debug options</link>
|
||||||
to turn on in addition to those specified in the <envar>GTK_DEBUG</envar>
|
to turn on in addition to those specified in the <envar>GTK_DEBUG</envar>
|
||||||
environment variable. This option is only available if GTK+ has been
|
environment variable. This option is not available if GTK+ has been
|
||||||
configured with <option>--enable-debug=yes</option>.
|
configured with <option>--enable-debug=no</option>.
|
||||||
</para>
|
</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ additional environment variables.
|
|||||||
<title><envar>GTK_DEBUG</envar></title>
|
<title><envar>GTK_DEBUG</envar></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
If GTK+ has been configured with <option>--enable-debug=yes</option>,
|
Unless GTK+ has been configured with <option>--enable-debug=no</option>,
|
||||||
this variable can be set to a list of debug options, which cause GTK+
|
this variable can be set to a list of debug options, which cause GTK+
|
||||||
to print out different types of debugging information.
|
to print out different types of debugging information.
|
||||||
<variablelist>
|
<variablelist>
|
||||||
|
Reference in New Issue
Block a user