summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-03-24 11:19:31 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-04-13 14:16:17 -0400
commitf8964fcf2e4681ab77e0cf37c96e9994d25b19fd (patch)
tree4a70ed38cc391e045f5e333ee94fdddf7f4cc851 /configure.ac
parentc23a61a49caebca1244fad484cae403bf7a0a0fd (diff)
elput: Initial checkin of elput library
The elput library is an efl abstraction for the libinput library which can be used by various other subsystems (ecore_fb, ecore_drm, etc) to handle interfacing with libinput without having to duplicate the code in each subsystem. Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac71
1 files changed, 71 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 44daa45..f34bac8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1984,6 +1984,17 @@ AC_ARG_ENABLE([ecore-buffer],
1984 ], 1984 ],
1985 [want_ecore_buffer="no"]) 1985 [want_ecore_buffer="no"])
1986 1986
1987AC_ARG_ENABLE([elput],
1988 [AS_HELP_STRING([--enable-elput],[enable elput library. @<:@default=disabled@:>@])],
1989 [
1990 if test "x${enableval}" = "xyes" ; then
1991 want_elput="yes"
1992 else
1993 want_elput="no"
1994 fi
1995 ],
1996 [want_elput="no"])
1997
1987# Image Loaders 1998# Image Loaders
1988 1999
1989ARG_ENABLE_EVAS_IMAGE_LOADER(BMP, static) 2000ARG_ENABLE_EVAS_IMAGE_LOADER(BMP, static)
@@ -3566,6 +3577,64 @@ EFL_LIB_END_OPTIONAL([Ecore_Drm])
3566#### End of Ecore_Drm 3577#### End of Ecore_Drm
3567 3578
3568 3579
3580#### Elput
3581have_libinput_new="no"
3582EFL_LIB_START_OPTIONAL([Elput], [test "${want_elput}" = "yes"])
3583
3584### Additional options to configure
3585SUID_CFLAGS=-fPIE
3586SUID_LDFLAGS=-pie
3587AC_SUBST([SUID_CFLAGS])
3588AC_SUBST([SUID_LDFLAGS])
3589
3590### Default values
3591
3592### Checks for programs
3593
3594### Checks for libraries
3595EFL_INTERNAL_DEPEND_PKG([ELPUT], [ecore])
3596EFL_INTERNAL_DEPEND_PKG([ELPUT], [ecore-input])
3597EFL_INTERNAL_DEPEND_PKG([ELPUT], [eldbus])
3598EFL_INTERNAL_DEPEND_PKG([ELPUT], [eeze])
3599EFL_INTERNAL_DEPEND_PKG([ELPUT], [eo])
3600EFL_INTERNAL_DEPEND_PKG([ELPUT], [eina])
3601
3602EFL_DEPEND_PKG([ELPUT], [LIBINPUT], [libinput >= 0.6.0 xkbcommon >= 0.3.0])
3603
3604EFL_ADD_LIBS([ELPUT], [-lm])
3605
3606# API change from 0.7 to 0.8. So we define this to support both for now.
3607PKG_CHECK_EXISTS([libinput >= 0.8.0],
3608 [have_libinput_new="yes"],
3609 [have_libinput_new="no"])
3610AC_MSG_CHECKING([Use new libinput API (newer than 0.8.0)])
3611AC_MSG_RESULT([${have_libinput_new}])
3612if test "x${have_libinput_new}" = "xyes";then
3613 AC_DEFINE_UNQUOTED([LIBINPUT_HIGHER_08], [1], [libinput version >= 0.8])
3614fi
3615if test "x${have_libinput_new}" = "xno";then
3616 AC_DEFINE_UNQUOTED([LIBINPUT_HIGHER_08], [0], [libinput version >= 0.8])
3617fi
3618
3619
3620EFL_EVAL_PKGS([ELPUT])
3621
3622### Checks for header files
3623
3624### Checks for types
3625
3626### Checks for structures
3627
3628### Checks for compiler characteristics
3629
3630### Checks for linker characteristics
3631
3632### Checks for library functions
3633
3634EFL_LIB_END_OPTIONAL([Elput])
3635#### End of Ecore_Drm
3636
3637
3569#### Ecore_Audio 3638#### Ecore_Audio
3570 3639
3571AC_ARG_ENABLE([audio], 3640AC_ARG_ENABLE([audio],
@@ -5512,6 +5581,7 @@ pc/elocation.pc
5512pc/elua.pc 5581pc/elua.pc
5513pc/elementary.pc 5582pc/elementary.pc
5514pc/elementary-cxx.pc 5583pc/elementary-cxx.pc
5584pc/elput.pc
5515dbus-services/org.enlightenment.Ethumb.service 5585dbus-services/org.enlightenment.Ethumb.service
5516systemd-services/ethumb.service 5586systemd-services/ethumb.service
5517$po_makefile_in 5587$po_makefile_in
@@ -5680,6 +5750,7 @@ fi
5680echo "Ecore_Audio.....: ${efl_lib_optional_ecore_audio} (${features_ecore_audio})" 5750echo "Ecore_Audio.....: ${efl_lib_optional_ecore_audio} (${features_ecore_audio})"
5681echo "Ecore_Avahi.....: yes (${features_ecore_avahi})" 5751echo "Ecore_Avahi.....: yes (${features_ecore_avahi})"
5682echo "Ecore_Evas......: yes (${features_ecore_evas})" 5752echo "Ecore_Evas......: yes (${features_ecore_evas})"
5753echo "Elput...........: $want_elput"
5683echo "Ector...........: yes" 5754echo "Ector...........: yes"
5684echo "Eeze............: ${efl_lib_optional_eeze} (${features_eeze})" 5755echo "Eeze............: ${efl_lib_optional_eeze} (${features_eeze})"
5685echo "EPhysics........: ${efl_lib_optional_ephysics}" 5756echo "EPhysics........: ${efl_lib_optional_ephysics}"