summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-10 19:54:13 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-10 19:54:13 +0000
commitda7847adb43726079c7a4be1f06acbebe0bdde57 (patch)
tree0138139a2d4a3a213319cc5e23e409b90a9fcc6b /configure.in.in
downloadkima-da7847adb43726079c7a4be1f06acbebe0bdde57.tar.gz
kima-da7847adb43726079c7a4be1f06acbebe0bdde57.zip
Added old abandoned KDE3 version of Kima
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1088422 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 0000000..acdb020
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,21 @@
+#MIN_CONFIG(3.0.0)
+
+AM_INIT_AUTOMAKE(kima, 0.7.3.2)
+AC_C_BIGENDIAN
+AC_CHECK_KDEMAXPATHLEN
+
+dnl check for (optional) nvcontrol
+AC_ARG_WITH(nvcontrol,
+ AC_HELP_STRING([--with-nvcontrol=nvcontrol-dir],[uses libXNVCtrl.a instead of nvidia-settings for the NVidia thermal source]),
+ [with_nvcontrol=yes
+ nvcontrol_CFLAGS=-I$withval
+ nvcontrol_LIBS="-L$withval -lXNVCtrl"
+ AC_CHECK_FILE([$withval/NVCtrlLib.h], , AC_MSG_ERROR([Did not find NVCtrlLib.h. Make sure that you passed the correct path for NVControl. See README for details.]))
+ AC_DEFINE(HAVE_NVCONTROL, , [defined if compiling with NVControl support])])
+AC_SUBST(nvcontrol_CFLAGS)
+AC_SUBST(nvcontrol_LIBS)
+
+dnl check for required hal minimal version 0.5.5
+PKG_CHECK_MODULES(libhal, hal >= 0.5.5)
+AC_SUBST(libhal_CFLAGS)
+AC_SUBST(libhal_LIBS)