diff --git a/configure.in b/configure.in index 29931465a..8a41dad68 100644 --- a/configure.in +++ b/configure.in @@ -602,6 +602,26 @@ CheckX11() SYSTEM_LIBS="$SYSTEM_LIBS -lXv" fi fi + AC_ARG_ENABLE(video-x11-xinerama, +[ --enable-video-x11-xinerama enable X11 Xinerama support [default=yes]], + , enable_video_x11_xinerama=yes) + if test x$enable_video_x11_xinerama = xyes; then + AC_MSG_CHECKING(for X11 Xinerama support) + video_x11_xinerama=no + AC_TRY_COMPILE([ + #include + #include + ],[ + XineramaScreenInfo *xinerama; + ],[ + video_x11_xinerama=yes + ]) + AC_MSG_RESULT($video_x11_xinerama) + if test x$video_x11_xinerama = xyes; then + CFLAGS="$CFLAGS -DHAVE_XINERAMA" + SYSTEM_LIBS="$SYSTEM_LIBS -lXinerama" + fi + fi fi fi } diff --git a/docs.html b/docs.html index 1932e0d44..2264ff0c0 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: