Lacking X11 should be an error on non-Win32 as X11 then is our only LowLevelWindow option.
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user