Added a check for omnibook laptops so that temperature module can work with
them. Seems these lappys cannot correctly use linux ACPI. SVN revision: 25374
This commit is contained in:
parent
db8232fd52
commit
f77fc06ecb
|
@ -73,6 +73,11 @@ MODULE_ARCH="$host_os-$host_cpu"
|
||||||
AC_SUBST(MODULE_ARCH)
|
AC_SUBST(MODULE_ARCH)
|
||||||
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
|
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
|
||||||
|
|
||||||
|
# Check for omnibook laptops so that temperature module works with them
|
||||||
|
if test -f /proc/omnibook/temperature; then
|
||||||
|
AC_DEFINE(HAVE_OMNIBOOK, 1, [Omnibook laptop support for temperature module])
|
||||||
|
fi
|
||||||
|
|
||||||
if test "x${bindir}" = 'xNONE'; then
|
if test "x${bindir}" = 'xNONE'; then
|
||||||
if test "x${prefix}" = "xNONE"; then
|
if test "x${prefix}" = "xNONE"; then
|
||||||
PACKAGE_BIN_DIR="${ac_default_prefix}/bin"
|
PACKAGE_BIN_DIR="${ac_default_prefix}/bin"
|
||||||
|
|
Loading…
Reference in New Issue