[PATCH 2/2] configure: bail if Xephyr was requested but its dependencies are missing

Jamey Sharp jamey at minilop.net
Thu Jun 24 11:10:33 PDT 2010


Reviewed-by: Jamey Sharp <jamey at minilop.net>

On Thu, Jun 24, 2010 at 10:45 AM, Julien Cristau <jcristau at debian.org> wrote:
> Signed-off-by: Julien Cristau <jcristau at debian.org>
> ---
>  configure.ac |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 1a1f2d3..6e95f1f 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2073,6 +2073,9 @@ if test "$KDRIVE" = yes; then
>     if test "x$XEPHYR" = xauto; then
>         XEPHYR=$xephyr
>     fi
> +    if test "x$XEPHYR" = xyes && test "x$xephyr" = xno; then
> +        AC_MSG_ERROR([Xephyr dependencies missing])
> +    fi
>
>     # Xephyr needs nanosleep() which is in librt on Solaris
>     AC_CHECK_FUNC([nanosleep], [],
> --
> 1.7.1
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>


More information about the xorg-devel mailing list