diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 2bda8f7717adf28da4af0d34fb82f63d2868c31d (patch) | |
tree | 8d927b7b47a90c4adb646482a52613f58acd6f8c /ksim/configure.in.in | |
download | tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.tar.gz tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/configure.in.in')
-rw-r--r-- | ksim/configure.in.in | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ksim/configure.in.in b/ksim/configure.in.in new file mode 100644 index 0000000..4ddee70 --- /dev/null +++ b/ksim/configure.in.in @@ -0,0 +1,36 @@ +AC_CHECK_FUNCS(getloadavg) + +sysinfo_check=no +case "$target" in + *-*-linux*) + sysinfo_check=yes + ;; +esac + +if test x$sysinfo_check = xyes; then + sysinfo_ok=no + AC_MSG_CHECKING(for totalhigh and totalfree in sysinfo) + AC_TRY_COMPILE( + [ + #include <linux/kernel.h> + + static void check() + { + struct sysinfo system; /* dummy sysinfo */ + int totalhigh = system.totalhigh; + int freehigh = system.freehigh; + } + ], [], + [ + sysinfo_ok=yes + AC_DEFINE_UNQUOTED(HAVE_SYSINFO_HIGH, 1, [whether we have totalhigh and freehigh]) + ]) + + AC_MSG_RESULT($sysinfo_ok) +fi + +dnl Check for dell laptop support +AM_CONDITIONAL(supports_i8k, test -f /proc/i8k) + +KDE_CHECK_HEADER(X11/extensions/extutil.h, AC_DEFINE(HAVE_EXTUTIL_H, 1, [If we have extutil.h]) have_extutil_h=yes, , ) +AM_CONDITIONAL(include_nv, test "x$have_extutil_h" = "xyes") |