comparison configure.in @ 1242:caf0328c8058

Add XME hooks to X11 driver instead of relying on libxme...libxme hasn't changed in five years, and it's a small .c file that just calls into the X11 dependencies we already use elsewhere. Including it directly allows us to make use of the dynamic X11 code. Fixes Bugzilla #41. --ryan.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 12 Jan 2006 22:46:36 +0000
parents 09c1408645df
children 08c730212ca2
comparison
equal deleted inserted replaced
1241:4b2146866b82 1242:caf0328c8058
758 AC_ARG_ENABLE(video-x11-xme, 758 AC_ARG_ENABLE(video-x11-xme,
759 [ --enable-video-x11-xme enable Xi Graphics XME for fullscreen [default=yes]], 759 [ --enable-video-x11-xme enable Xi Graphics XME for fullscreen [default=yes]],
760 , enable_video_x11_xme=yes) 760 , enable_video_x11_xme=yes)
761 if test x$enable_video_x11_xme = xyes; then 761 if test x$enable_video_x11_xme = xyes; then
762 AC_MSG_CHECKING(for Xi Graphics XiGMiscExtension support) 762 AC_MSG_CHECKING(for Xi Graphics XiGMiscExtension support)
763 video_x11_xme=no
764 AC_TRY_COMPILE([
765 #include <X11/Xlib.h>
766 #include <X11/extensions/xme.h>
767 ],[
768 XiGMiscResolutionInfo *resolutions;
769 ],[
770 video_x11_xme=yes 763 video_x11_xme=yes
771 ])
772 AC_MSG_RESULT($video_x11_xme) 764 AC_MSG_RESULT($video_x11_xme)
773 if test x$video_x11_xme = xyes; then 765 if test x$video_x11_xme = xyes; then
774 CFLAGS="$CFLAGS -DHAVE_XIGXME" 766 CFLAGS="$CFLAGS -DHAVE_XIGXME"
775 SYSTEM_LIBS="$SYSTEM_LIBS -lxme" 767 SYSTEM_LIBS="$SYSTEM_LIBS"
776 fi 768 fi
777 fi 769 fi
778 fi 770 fi
779 fi 771 fi
780 } 772 }