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:
Christopher Michael 2006-09-02 23:46:19 +00:00
parent db8232fd52
commit f77fc06ecb
1 changed files with 5 additions and 0 deletions

View File

@ -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"