From 7327923a7e04deb3bd12669745c5db8bc6b4173a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 12 Nov 2012 08:39:27 +0100 Subject: Fix automake build i8k ksim module --- ksim/configure.in.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ksim/configure.in.in') diff --git a/ksim/configure.in.in b/ksim/configure.in.in index 878ebc2..fc089b7 100644 --- a/ksim/configure.in.in +++ b/ksim/configure.in.in @@ -30,7 +30,14 @@ if test x$sysinfo_check = xyes; then fi dnl Check for dell laptop support -AM_CONDITIONAL(supports_i8k, test -f /proc/i8k) +AC_MSG_CHECKING([if dellI8k ksim module should be compiled]) +case "$host" in + *-*-linux*) ksim_delli8k_compile=yes; UNAME='Linux' ;; + *) ksim_delli8k_compile=no; UNAME='' ;; +esac + +AC_MSG_RESULT($ksim_delli8k_compile) +AM_CONDITIONAL(supports_i8k, test x$ksim_delli8k_compile = xyes) kde_safe_cppflags=$CPPFLAGS CPPFLAGS="$CPPFLAGS -include X11/Xlib.h -include X11/Xutil.h -include X11/Xproto.h" -- cgit v1.2.1