configure.in
changeset 242 4bcb29d3769c
parent 241 b6084de9431a
child 257 9ac9ab945955
     1.1 --- a/configure.in	Thu Nov 22 03:47:16 2001 +0000
     1.2 +++ b/configure.in	Thu Nov 22 04:55:38 2001 +0000
     1.3 @@ -622,6 +622,26 @@
     1.4                      SYSTEM_LIBS="$SYSTEM_LIBS -lXinerama"
     1.5                  fi
     1.6              fi
     1.7 +            AC_ARG_ENABLE(video-x11-xme,
     1.8 +[  --enable-video-x11-xme  enable Xi Graphics XME for fullscreen [default=yes]],
     1.9 +                            , enable_video_x11_xme=yes)
    1.10 +            if test x$enable_video_x11_xme = xyes; then
    1.11 +                AC_MSG_CHECKING(for Xi Graphics XiGMiscExtension support)
    1.12 +                video_x11_xme=no
    1.13 +                AC_TRY_COMPILE([
    1.14 +                 #include <X11/Xlib.h>
    1.15 +                 #include <X11/extensions/xme.h>
    1.16 +                ],[
    1.17 +                 XiGMiscResolutionInfo *resolutions;
    1.18 +                ],[
    1.19 +                video_x11_xme=yes
    1.20 +                ])
    1.21 +                AC_MSG_RESULT($video_x11_xme)
    1.22 +                if test x$video_x11_xme = xyes; then
    1.23 +                    CFLAGS="$CFLAGS -DHAVE_XIGXME"
    1.24 +                    SYSTEM_LIBS="$SYSTEM_LIBS -lxme"
    1.25 +                fi
    1.26 +            fi
    1.27          fi
    1.28      fi
    1.29  }