[RFC/PATCH 0/2] The beginnings of an in-server unit test suite.

Rémi Cardona remi at gentoo.org
Mon Apr 27 06:08:29 PDT 2009


Peter Hutterer a écrit :

>  AM_CONDITIONAL(DEBUG, [test "x$DEBUGGING" = xyes])
>  
> +if test "x$UNITTESTS" = xyes; then
> +       AC_DEFINE(UNITTESTS, 1, [Enable unit tests])
> +       PKG_CHECK_MODULES([GLIB], [glib-2.0])
> +       AC_SUBST([GLIB_LIBS])
> +       AC_SUBST([GLIB_CFLAGS])
> +fi
> +AM_CONDITIONAL(UNITTESTS, [test "x$UNITTESTS" = xyes])
> +

You might want to make configure look for [glib-2.0 >= 2.16]

Cheers

-- 
Rémi Cardona
LRI, INRIA
remi.cardona at lri.fr
remi at gentoo.org


More information about the xorg-devel mailing list