summaryrefslogtreecommitdiff
path: root/legacy/eeze/configure.ac
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-09-18 14:14:48 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-09-18 14:14:48 +0000
commit535ef37087fe803508b37ca5e55e98edfd242813 (patch)
treea660cc4790f7bb672df505775ef75fc270081fa1 /legacy/eeze/configure.ac
parente0807db1c31979cb79faaa22e24fe8fc6a9a0a4b (diff)
eeze: Add sensor API
Extend eeze to read out sensor data from various sources with a simple API to access for application developers. The sensor backends are eina modules. For now we support a tizen module as well as a fake module for testing. Modules for plain sysfs on a desktop or other sensor frameworks could get integrated. The api is not fixed until 1.8 is out so let me know what you think. Having small wrappers for all kind of infos like eeze_sensor_light_get or eeze_sensor_proximity_get are possible but I did not want to bloat the api from the beginning. SVN revision: 76825
Diffstat (limited to 'legacy/eeze/configure.ac')
-rw-r--r--legacy/eeze/configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/legacy/eeze/configure.ac b/legacy/eeze/configure.ac
index 5d17a25e9d..ea23ea8d45 100644
--- a/legacy/eeze/configure.ac
+++ b/legacy/eeze/configure.ac
@@ -206,6 +206,19 @@ if test "x${have_ipv6}" = "xyes" ; then
206 AC_DEFINE(HAVE_IPV6, 1, [Define if IPV6 is supported]) 206 AC_DEFINE(HAVE_IPV6, 1, [Define if IPV6 is supported])
207fi 207fi
208 208
209eeze_sensor_tizen="no"
210PKG_CHECK_EXISTS([capi-system-sensor],
211 [
212 AC_DEFINE([HAVE_EEZE_TIZEN], [1], [Eeze has Tizen sensor support enabled])
213 AM_CONDITIONAL([HAVE_EEZE_TIZEN], [true])
214 eeze_sensor_tizen="yes"
215 ],
216 AM_CONDITIONAL([HAVE_EEZE_TIZEN], [false])
217)
218if test "x$eeze_sensor_tizen" = "xyes";then
219 PKG_CHECK_MODULES([TIZEN_SENSOR], [capi-system-sensor])
220fi
221
209### Checks for header files 222### Checks for header files
210 223
211 224
@@ -230,6 +243,7 @@ EFL_COMPILER_FLAG([-Wshadow])
230### Binary 243### Binary
231 244
232EFL_ENABLE_BIN([eeze-udev-test], ["yes"]) 245EFL_ENABLE_BIN([eeze-udev-test], ["yes"])
246EFL_ENABLE_BIN([eeze_sensor_test], ["yes"])
233EFL_ENABLE_BIN([eeze-mount], ["yes"]) 247EFL_ENABLE_BIN([eeze-mount], ["yes"])
234EFL_ENABLE_BIN([eeze-disk-ls], ["yes"]) 248EFL_ENABLE_BIN([eeze-disk-ls], ["yes"])
235EFL_ENABLE_BIN([eeze-umount], ["yes"]) 249EFL_ENABLE_BIN([eeze-umount], ["yes"])
@@ -281,6 +295,9 @@ echo " eeze_scanner.........: ${have_eeze_scanner}"
281echo 295echo
282echo "IPv6...................: ${have_ipv6}" 296echo "IPv6...................: ${have_ipv6}"
283echo 297echo
298echo "Sensor.................:"
299echo " Tizen................: ${eeze_sensor_tizen}"
300echo
284echo "Documentation..........: ${build_doc}" 301echo "Documentation..........: ${build_doc}"
285echo 302echo
286echo "Compilation............: make (or gmake)" 303echo "Compilation............: make (or gmake)"