forked from enlightenment/enlightenment
parent
16b851a43c
commit
fe6f5aa3d1
|
@ -201,13 +201,20 @@ PKG_CHECK_MODULES(ECORE_TXT, [
|
|||
ecore-txt
|
||||
], [
|
||||
have_temp="yes"
|
||||
have_battery="yes"
|
||||
# This test will succeed as these modules are also checked before
|
||||
PKG_CHECK_MODULES(TEMPERATURE, [
|
||||
ecore
|
||||
ecore-file
|
||||
])
|
||||
PKG_CHECK_MODULES(BATTERY, [
|
||||
ecore
|
||||
ecore-file
|
||||
ecore-con
|
||||
])
|
||||
], [ have_temp="no"])
|
||||
AM_CONDITIONAL(HAVE_TEMPERATURE, test x$have_temp = "xyes")
|
||||
AM_CONDITIONAL(HAVE_BATTERY, test x$have_bat = "xyes")
|
||||
|
||||
PKG_CHECK_MODULES(E_DBUS, edbus, have_edbus=yes, have_edbus=no)
|
||||
PKG_CHECK_MODULES(E_HAL, ehal, have_ehal=yes, have_ehal=no)
|
||||
|
|
|
@ -511,7 +511,7 @@ linux_sys_class_power_supply_init(void)
|
|||
sysev->fd_handler = ecore_main_fd_handler_add(sysev->fd,
|
||||
ECORE_FD_READ,
|
||||
linux_sys_class_power_supply_cb_event_fd_active,
|
||||
NULL,
|
||||
sysev,
|
||||
NULL, NULL);
|
||||
ecore_list_append(events, sysev);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue