<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2724,7 +2724,7 @@ fi
 
 # Check whether --with-xxf86vm was given.
 if test &quot;${with_xxf86vm+set}&quot; = set; then :
-  withval=$with_xxf86vm; if test &quot;x$withval&quot; = &quot;xno&quot;; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
+  withval=$with_xxf86vm; if test &quot;x$withval&quot; = &quot;xno&quot;; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
 fi
 
 
@@ -8024,7 +8024,8 @@ fi
                       X11/extensions/Xinerama.h \
                       X11/extensions/Xrandr.h \
                       X11/extensions/Xrender.h \
-                      X11/extensions/xf86vmode.h
+                      X11/extensions/xf86vmode.h \
+                      X11/extensions/xf86vmproto.h
 do :
   as_ac_Header=`$as_echo &quot;ac_cv_header_$ac_header&quot; | $as_tr_sh`
 ac_fn_c_check_header_compile &quot;$LINENO&quot; &quot;$ac_header&quot; &quot;$as_ac_Header&quot; &quot;#ifdef HAVE_X11_XLIB_H
@@ -8323,7 +8324,7 @@ This is an error since --with-xshape was requested.&quot; &quot;$LINENO&quot; 5 ;;
 esac
 fi
 
-                if test &quot;$ac_cv_header_X11_extensions_xf86vmode_h&quot; = &quot;yes&quot;
+                if test &quot;$ac_cv_header_X11_extensions_xf86vmode_h&quot; = &quot;yes&quot; -o &quot;$ac_cv_header_X11_extensions_xf86vmproto_h&quot; = &quot;yes&quot;
         then
             { $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm&quot; &gt;&amp;5
 $as_echo_n &quot;checking for -lXxf86vm... &quot; &gt;&amp;6; }</diff>
      <filename>configure</filename>
    </modified>
    <modified>
      <diff>@@ -84,7 +84,7 @@ AC_ARG_WITH(xshm,      AS_HELP_STRING([--without-xshm],[do not use XShm (shared
             [if test &quot;x$withval&quot; = &quot;xno&quot;; then ac_cv_header_X11_extensions_XShm_h=no; fi])
 AC_ARG_WITH(xslt,      AS_HELP_STRING([--without-xslt],[do not use XSLT]))
 AC_ARG_WITH(xxf86vm,   AS_HELP_STRING([--without-xxf86vm],[do not use XFree video mode extension]),
-            [if test &quot;x$withval&quot; = &quot;xno&quot;; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi])
+            [if test &quot;x$withval&quot; = &quot;xno&quot;; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi])
 
 AC_ARG_WITH(wine-tools,AS_HELP_STRING([--with-wine-tools=DIR],[use Wine tools from directory DIR]))
 AC_ARG_WITH(wine64,    AS_HELP_STRING([--with-wine64=DIR],[use the 64-bit Wine in DIR for a Wow64 build]))
@@ -810,7 +810,8 @@ then
                       X11/extensions/Xinerama.h \
                       X11/extensions/Xrandr.h \
                       X11/extensions/Xrender.h \
-                      X11/extensions/xf86vmode.h],,,
+                      X11/extensions/xf86vmode.h \
+                      X11/extensions/xf86vmproto.h],,,
 [#ifdef HAVE_X11_XLIB_H
 # include &lt;X11/Xlib.h&gt;
 #endif
@@ -863,7 +864,7 @@ then
                          [XShape ${notice_platform}development files not found, XShape won't be supported.])
 
         dnl *** Check for XFree86 VMODE extension
-        if test &quot;$ac_cv_header_X11_extensions_xf86vmode_h&quot; = &quot;yes&quot;
+        if test &quot;$ac_cv_header_X11_extensions_xf86vmode_h&quot; = &quot;yes&quot; -o &quot;$ac_cv_header_X11_extensions_xf86vmproto_h&quot; = &quot;yes&quot;
         then
             WINE_CHECK_SONAME(Xxf86vm,XF86VidModeQueryExtension,,,[$X_LIBS $XLIB $X_EXTRA_LIBS])
         fi</diff>
      <filename>configure.ac</filename>
    </modified>
    <modified>
      <diff>@@ -30,6 +30,9 @@
 #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
 #include &lt;X11/extensions/xf86vmode.h&gt;
 #endif
+#ifdef HAVE_X11_EXTENSIONS_XF86VMPROTO_H
+#include &lt;X11/extensions/xf86vmproto.h&gt;
+#endif
 
 #include &quot;xvidmode.h&quot;
 </diff>
      <filename>dlls/winex11.drv/xvidmode.c</filename>
    </modified>
    <modified>
      <diff>@@ -1029,6 +1029,9 @@
 /* Define to 1 if you have the &lt;X11/extensions/xf86vmode.h&gt; header file. */
 #undef HAVE_X11_EXTENSIONS_XF86VMODE_H
 
+/* Define to 1 if you have the &lt;X11/extensions/xf86vmproto.h&gt; header file. */
+#undef HAVE_X11_EXTENSIONS_XF86VMPROTO_H
+
 /* Define to 1 if you have the &lt;X11/extensions/Xinerama.h&gt; header file. */
 #undef HAVE_X11_EXTENSIONS_XINERAMA_H
 </diff>
      <filename>include/config.h.in</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>681b08b0feadc94fbcc40582d542ce47f34c8ed5</id>
    </parent>
  </parents>
  <author>
    <name>Andr&#233; Hentschel</name>
    <email>nerv@dawncrow.de</email>
  </author>
  <url>http://github.com/github/wine/commit/7b285a4ebd63eab428e968968ca398cc1076324a</url>
  <id>7b285a4ebd63eab428e968968ca398cc1076324a</id>
  <committed-date>2009-09-22T07:20:26-07:00</committed-date>
  <authored-date>2009-09-19T10:08:09-07:00</authored-date>
  <message>winex11: Add alternative header for xf86vm.</message>
  <tree>7406009168f4ad718dc91b1da2db0e3c51c72e1e</tree>
  <committer>
    <name>Alexandre Julliard</name>
    <email>julliard@winehq.org</email>
  </committer>
</commit>
