diff --git a/configure.in b/configure.in index c7a184d51..408b32b63 100644 --- a/configure.in +++ b/configure.in @@ -622,6 +622,26 @@ CheckX11() SYSTEM_LIBS="$SYSTEM_LIBS -lXinerama" fi fi + AC_ARG_ENABLE(video-x11-xme, +[ --enable-video-x11-xme enable Xi Graphics XME for fullscreen [default=yes]], + , enable_video_x11_xme=yes) + if test x$enable_video_x11_xme = xyes; then + AC_MSG_CHECKING(for Xi Graphics XiGMiscExtension support) + video_x11_xme=no + AC_TRY_COMPILE([ + #include + #include + ],[ + XiGMiscResolutionInfo *resolutions; + ],[ + video_x11_xme=yes + ]) + AC_MSG_RESULT($video_x11_xme) + if test x$video_x11_xme = xyes; then + CFLAGS="$CFLAGS -DHAVE_XIGXME" + SYSTEM_LIBS="$SYSTEM_LIBS -lxme" + fi + fi fi fi } diff --git a/docs.html b/docs.html index 2264ff0c0..8481f9209 100644 --- a/docs.html +++ b/docs.html @@ -16,6 +16,7 @@ be found at the main SDL page. Major changes since SDL 1.0.0: