summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 57c267a029..97b8828a61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3058,6 +3058,7 @@ AM_CONDITIONAL([HAVE_EEZE_TIZEN], [test "x${want_tizen}" = "xyes"])
3058 3058
3059 3059
3060#### Ecore_Drm 3060#### Ecore_Drm
3061have_libinput_new="no"
3061EFL_LIB_START_OPTIONAL([Ecore_Drm], [test "${want_drm}" = "yes"]) 3062EFL_LIB_START_OPTIONAL([Ecore_Drm], [test "${want_drm}" = "yes"])
3062 3063
3063### Additional options to configure 3064### Additional options to configure
@@ -3081,6 +3082,20 @@ EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [eina])
3081EFL_DEPEND_PKG([ECORE_DRM], [DRM], [libdrm >= 2.4 xkbcommon >= 0.3.0 gbm]) 3082EFL_DEPEND_PKG([ECORE_DRM], [DRM], [libdrm >= 2.4 xkbcommon >= 0.3.0 gbm])
3082EFL_DEPEND_PKG([ECORE_DRM], [LIBINPUT], [libinput >= 0.6.0]) 3083EFL_DEPEND_PKG([ECORE_DRM], [LIBINPUT], [libinput >= 0.6.0])
3083 3084
3085# API change from 0.7 to 0.8. So we define this to support both for now.
3086PKG_CHECK_EXISTS([libinput >= 0.8.0],
3087 [have_libinput_new="yes"],
3088 [have_libinput_new="no"])
3089AC_MSG_CHECKING([Use new libinput API (newer than 0.8.0)])
3090AC_MSG_RESULT([${have_libinput_new}])
3091if test "x${have_libinput_new}" = "xyes";then
3092 AC_DEFINE_UNQUOTED([LIBINPUT_HIGHER_08], [1], [libinput version >= 0.8])
3093fi
3094if test "x${have_libinput_new}" = "xno";then
3095 AC_DEFINE_UNQUOTED([LIBINPUT_HIGHER_08], [0], [libinput version >= 0.8])
3096fi
3097
3098
3084EFL_EVAL_PKGS([ECORE_DRM]) 3099EFL_EVAL_PKGS([ECORE_DRM])
3085 3100
3086### Checks for header files 3101### Checks for header files