summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-11-12 08:39:27 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-11-12 08:39:27 +0100
commit7327923a7e04deb3bd12669745c5db8bc6b4173a (patch)
tree1edad44918303f2f837fa368be0a27e9a13bd61b /ksim
parentd71a3e005ca9c7cc50bf6b314ecea04acab0258c (diff)
downloadtdeutils-7327923a7e04deb3bd12669745c5db8bc6b4173a.tar.gz
tdeutils-7327923a7e04deb3bd12669745c5db8bc6b4173a.zip
Fix automake build i8k ksim module
Diffstat (limited to 'ksim')
-rw-r--r--ksim/configure.in.in9
1 files changed, 8 insertions, 1 deletions
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"