autotools, cmake: test Xfixes along with XInput2.h:

because we use Xfixes with XIBarrierReleasePointer
This commit is contained in:
Ozkan Sezer committed 2021-11-12 12:55:50 +03:00
1 parent c3a4a6a033
commit fa3330baec
3 files changed
+9 -4

No files matched your search

Vendored
+3 -1
View File
@@ -21502,8 +21502,10 @@ fi
if test x$enable_video_x11_xfixes = xyes; then
definitely_enable_video_x11_xfixes=no
# check along with XInput2.h because we use Xfixes with XIBarrierReleasePointer
ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/extensions/XInput2.h>
"
if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes; then :
have_xfixes_h_hdr=yes