From 1b7f2bff76251d938605450b05de5664953fa1d7 Mon Sep 17 00:00:00 2001 From: "Ben \"root\" Anderson" Date: Fri, 25 Oct 2013 01:47:06 -0500 Subject: [PATCH] Lacking X11 should be an error on non-Win32 as X11 then is our only LowLevelWindow option. --- autoconf/m4/x11.m4 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/autoconf/m4/x11.m4 b/autoconf/m4/x11.m4 index b8999fbbe6..2ce84924f6 100644 --- a/autoconf/m4/x11.m4 +++ b/autoconf/m4/x11.m4 @@ -46,9 +46,11 @@ AC_DEFUN([SM_X11], fi if test "$have_xrandr" = "no"; then - echo "*** Direct X11 support needs Xrandr libraries and headers." - echo "*** Couldn't find needed headers. Continuing without X11 backend." - no_x=yes + if test "$unix" = "yes"; then + AC_MSG_ERROR("Couldn't find X11 libraries.") + else + no_x=yes + fi else XLIBS="$XLIBS -lXrandr" fi