Added support for Xi Graphics XME fullscreen extension
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40243
This commit is contained in:
parent
c5e643229a
commit
ea3595e3fb
5 changed files with 200 additions and 3 deletions
20
configure.in
20
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 <X11/Xlib.h>
|
||||
#include <X11/extensions/xme.h>
|
||||
],[
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue