Lacking X11 should be an error on non-Win32 as X11 then is our only LowLevelWindow option.

This commit is contained in:
Ben "root" Anderson
2013-10-25 01:47:06 -05:00
parent 7208f76b4d
commit 1b7f2bff76
+5 -3
View File
@@ -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