You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
838 B
24 lines
838 B
#MIN_CONFIG(3.0.0)
|
|
|
|
KDE_ENABLE_HIDDEN_VISIBILITY
|
|
|
|
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)
|