Mercurial > sdl-ios-xcode
comparison configure.in @ 242:4bcb29d3769c
Added support for Xi Graphics XME fullscreen extension
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 22 Nov 2001 04:55:38 +0000 |
parents | b6084de9431a |
children | 9ac9ab945955 |
comparison
equal
deleted
inserted
replaced
241:b6084de9431a | 242:4bcb29d3769c |
---|---|
620 if test x$video_x11_xinerama = xyes; then | 620 if test x$video_x11_xinerama = xyes; then |
621 CFLAGS="$CFLAGS -DHAVE_XINERAMA" | 621 CFLAGS="$CFLAGS -DHAVE_XINERAMA" |
622 SYSTEM_LIBS="$SYSTEM_LIBS -lXinerama" | 622 SYSTEM_LIBS="$SYSTEM_LIBS -lXinerama" |
623 fi | 623 fi |
624 fi | 624 fi |
625 AC_ARG_ENABLE(video-x11-xme, | |
626 [ --enable-video-x11-xme enable Xi Graphics XME for fullscreen [default=yes]], | |
627 , enable_video_x11_xme=yes) | |
628 if test x$enable_video_x11_xme = xyes; then | |
629 AC_MSG_CHECKING(for Xi Graphics XiGMiscExtension support) | |
630 video_x11_xme=no | |
631 AC_TRY_COMPILE([ | |
632 #include <X11/Xlib.h> | |
633 #include <X11/extensions/xme.h> | |
634 ],[ | |
635 XiGMiscResolutionInfo *resolutions; | |
636 ],[ | |
637 video_x11_xme=yes | |
638 ]) | |
639 AC_MSG_RESULT($video_x11_xme) | |
640 if test x$video_x11_xme = xyes; then | |
641 CFLAGS="$CFLAGS -DHAVE_XIGXME" | |
642 SYSTEM_LIBS="$SYSTEM_LIBS -lxme" | |
643 fi | |
644 fi | |
625 fi | 645 fi |
626 fi | 646 fi |
627 } | 647 } |
628 CheckPHOTON() | 648 CheckPHOTON() |
629 { | 649 { |