From f77fc06ecb0107fe75efab11dcbd0e0f630efbf9 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sat, 2 Sep 2006 23:46:19 +0000 Subject: [PATCH] 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 --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 44c94edda..003d2cd2b 100644 --- a/configure.in +++ b/configure.in @@ -73,6 +73,11 @@ MODULE_ARCH="$host_os-$host_cpu" AC_SUBST(MODULE_ARCH) 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${prefix}" = "xNONE"; then PACKAGE_BIN_DIR="${ac_default_prefix}/bin"