summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-01-10 02:26:06 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-01-13 10:19:11 -0500
commit131e0e19837b56ef7887ef3c447e64789b480afb (patch)
treee63159ed95f40b92b8ce40dcd08f1f8f4cb08398 /configure.ac
parent384783a896eb315cfa99125ca497f971312c38f0 (diff)
ecore-x now supports XPRESENT
see http://cgit.freedesktop.org/xorg/proto/presentproto/plain/presentproto.txt
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 23 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8f99186..62ed2c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2697,6 +2697,17 @@ AC_ARG_ENABLE([gesture],
2697 ], 2697 ],
2698 [want_gesture="no"]) 2698 [want_gesture="no"])
2699 2699
2700AC_ARG_ENABLE([xpresent],
2701 [AC_HELP_STRING([--enable-xpresent], [enable X11 XPresent extension support])],
2702 [
2703 if test "x${enableval}" = "xyes" ; then
2704 want_xpresent="yes"
2705 else
2706 want_xpresent="no"
2707 fi
2708 ],
2709 [want_xpresent="no"])
2710
2700AC_ARG_ENABLE([xinput2], 2711AC_ARG_ENABLE([xinput2],
2701 [AC_HELP_STRING([--disable-xinput2], [disable X11 XInput v2.x support])], 2712 [AC_HELP_STRING([--disable-xinput2], [disable X11 XInput v2.x support])],
2702 [ 2713 [
@@ -2861,6 +2872,11 @@ if test "x${want_x11_xlib}" = "xyes" ; then
2861 ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent]) 2872 ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent])
2862 ECORE_CHECK_X_EXTENSION([Xss], [scrnsaver.h], [Xss], [XScreenSaverSelectInput]) 2873 ECORE_CHECK_X_EXTENSION([Xss], [scrnsaver.h], [Xss], [XScreenSaverSelectInput])
2863 2874
2875 if test "${want_xpresent}" = "yes"; then
2876 ECORE_CHECK_X_EXTENSION([Xpresent], [Xpresent.h], [Xpresent], [XPresentQueryExtension])
2877 fi
2878 EFL_ADD_FEATURE([ECORE_X], [xpresent])
2879
2864 if test "${want_gesture}" = "yes"; then 2880 if test "${want_gesture}" = "yes"; then
2865 ECORE_CHECK_X_EXTENSION([Xgesture], [gesture.h], [Xgesture], [XGestureQueryExtension]) 2881 ECORE_CHECK_X_EXTENSION([Xgesture], [gesture.h], [Xgesture], [XGestureQueryExtension])
2866 fi 2882 fi
@@ -2888,7 +2904,7 @@ fi
2888if test "${want_x11_xcb}" = "yes"; then 2904if test "${want_x11_xcb}" = "yes"; then
2889dnl note: added pixman-1 as ecore_xcb_region uses that 2905dnl note: added pixman-1 as ecore_xcb_region uses that
2890 EFL_DEPEND_PKG([ECORE_X], [ECORE_X_XCB], 2906 EFL_DEPEND_PKG([ECORE_X], [ECORE_X_XCB],
2891 [x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8 xcb-composite xcb-damage xcb-dpms xcb-randr xcb-render xcb-screensaver xcb-shape xcb-sync xcb-xfixes xcb-xinerama xcb-xprint xcb-xtest xcb-renderutil pixman-1]) 2907 [x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8 xcb-composite xcb-present xcb-damage xcb-dpms xcb-randr xcb-render xcb-screensaver xcb-shape xcb-sync xcb-xfixes xcb-xinerama xcb-xprint xcb-xtest xcb-renderutil pixman-1])
2892 2908
2893dnl TODO: remove these ifdefs from code! 2909dnl TODO: remove these ifdefs from code!
2894 AC_DEFINE([ECORE_XCB_COMPOSITE], [1], [Build support for XCB composite]) 2910 AC_DEFINE([ECORE_XCB_COMPOSITE], [1], [Build support for XCB composite])
@@ -2905,6 +2921,12 @@ dnl TODO: remove these ifdefs from code!
2905 AC_DEFINE([ECORE_XCB_XTEST], [1], [Build support for XCB xtest]) 2921 AC_DEFINE([ECORE_XCB_XTEST], [1], [Build support for XCB xtest])
2906 AC_DEFINE([ECORE_XCB_CURSOR], [1], [Build support for XCB cursor]) 2922 AC_DEFINE([ECORE_XCB_CURSOR], [1], [Build support for XCB cursor])
2907 2923
2924 EFL_OPTIONAL_DEPEND_PKG([ECORE_X], [${want_xpresent}], [ECORE_XCB_XPRESENT],
2925 [xcb-present])
2926 AC_DEFINE_IF([ECORE_XCB_XPRESENT], [test "${want_xpresent}" = "yes"],
2927 [1], [Build support for XCB Present])
2928 EFL_ADD_FEATURE([ECORE_X], [xpresent])
2929
2908 EFL_OPTIONAL_DEPEND_PKG([ECORE_X], [${want_gesture}], [ECORE_XCB_GESTURE], 2930 EFL_OPTIONAL_DEPEND_PKG([ECORE_X], [${want_gesture}], [ECORE_XCB_GESTURE],
2909 [xcb-gesture]) 2931 [xcb-gesture])
2910 AC_DEFINE_IF([ECORE_XCB_XGESTURE], [test "${want_gesture}" = "yes"], 2932 AC_DEFINE_IF([ECORE_XCB_XGESTURE], [test "${want_gesture}" = "yes"],