[PATCH weston] configure.ac: Make xwayland tests depend on xwayland

Kristian Høgsberg hoegsberg at gmail.com
Mon Feb 18 12:47:41 PST 2013


On Mon, Feb 18, 2013 at 08:38:22PM +0100, Quentin Glidic wrote:
> From: Quentin Glidic <sardemff7+git at sardemff7.net>
> 
> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
> ---
>  configure.ac | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

Thanks, that's better, committed.

Kristian

> diff --git a/configure.ac b/configure.ac
> index 32fbb4b..4ca6673 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -51,7 +51,10 @@ AM_CONDITIONAL(ENABLE_SETUID_INSTALL, test x$enable_setuid_install = xyes)
>  
>  AC_ARG_ENABLE(xwayland, [  --enable-xwayland],,
>  	      enable_xwayland=yes)
> +AC_ARG_ENABLE(xwayland-test, [  --enable-xwayland-test],,
> +              enable_xwayland_test=yes)
>  AM_CONDITIONAL(ENABLE_XWAYLAND, test x$enable_xwayland = xyes)
> +AM_CONDITIONAL(ENABLE_XWAYLAND_TEST, test x$enable_xwayland = xyes -a x$enable_xwayland_test = xyes)
>  if test x$enable_xwayland = xyes; then
>    PKG_CHECK_MODULES([XWAYLAND], xcb xcb-xfixes xcursor cairo-xcb)
>    AC_DEFINE([BUILD_XWAYLAND], [1], [Build the X server launcher])
> @@ -60,14 +63,11 @@ if test x$enable_xwayland = xyes; then
>                [Path to X server]), [XSERVER_PATH="$withval"],
>                [XSERVER_PATH="$bindir/Xorg"])
>    AC_SUBST([XSERVER_PATH])
> +  if test x$enable_xwayland_test = xyes; then
> +    PKG_CHECK_MODULES([XWAYLAND_TEST], xcb xcb-dri2 libdrm)
> +  fi
>  fi
>  
> -AC_ARG_ENABLE(xwayland-test, [  --enable-xwayland-test],,
> -              enable_xwayland_test=yes)
> -AM_CONDITIONAL(ENABLE_XWAYLAND_TEST, test x$enable_xwayland_test = xyes)
> -if test x$enable_xwayland_test = xyes; then
> -  PKG_CHECK_MODULES([XWAYLAND_TEST], xcb xcb-dri2 libdrm)
> -fi
>  
>  AC_ARG_ENABLE(x11-compositor, [  --enable-x11-compositor],,
>  	      enable_x11_compositor=yes)
> -- 
> 1.8.1.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list