efl/ecore_x: split xinput2 from gestures.

seems xinput2 is just to get the events, thus much more common, while
gestures is getting them from server (not as common).



SVN revision: 80525
This commit is contained in:
Gustavo Sverzut Barbieri 2012-12-08 15:35:44 +00:00
parent f8c480fc83
commit a2b5eaeb98
1 changed files with 14 additions and 1 deletions

View File

@ -2612,6 +2612,17 @@ AC_ARG_ENABLE([gesture],
],
[want_gesture="no"])
AC_ARG_ENABLE([xinput2],
[AC_HELP_STRING([--disable-xinput2], [disable X11 XInput2.h usage])],
[
if test "x${enableval}" = "xyes" ; then
want_xinput2="yes"
else
want_xinput2="no"
fi
],
[want_xinput2="yes"])
AC_ARG_ENABLE([xim],
[AC_HELP_STRING([--disable-xim], [disable X Input Method.])],
[
@ -2752,6 +2763,8 @@ if test "x${want_x11_xlib}" = "xyes" ; then
if test "${want_gesture}" = "yes"; then
ECORE_CHECK_X_EXTENSION([Xgesture], [gesture.h], [Xgesture], [XGestureQueryExtension])
fi
if test "${want_xinput2}" = "yes"; then
ECORE_CHECK_X_EXTENSION([Xi2], [XInput2.h], [Xi], [XIQueryDevice])
ECORE_CHECK_X_EXTENSION([Xi2_2], [XInput2.h], [Xi], [XIGrabTouchBegin])
fi
@ -3443,7 +3456,7 @@ echo
echo "Ecore Graphic systems:"
echo
echo " Ecore_X....................: ${with_x11} (pixman=${want_pixman}) (gesture=${want_gesture})"
echo " Ecore_X....................: ${with_x11} (pixman=${want_pixman}) (gesture=${want_gesture}) (xinput2=${want_xinput2})"
echo " Ecore_Win32................: $have_win32"
echo " Ecore_Cocoa................: $have_ecore_cocoa"
echo " Ecore_SDL..................: $want_sdl"