Upstream tarball 10051
[amule.git] / m4 / plasmamule.m4
blob92ebc91c73f08e9f293b6bbdb74700b53dc8e07c
1 m4_define([DISABLE_PLASMAMULE], [MULE_ENABLEVAR([plasmamule])=disabled])
3 AC_DEFUN([PLASMAMULE_CHECKS],
5         CHECK_MOC_VERSION
6         AS_IF([test "${QT_MOC}" = "not found"], [DISABLE_PLASMAMULE])
8         MULE_IF_ENABLED([plasmamule],
9         [
10                 CHECK_QT_HEADERS
11                 AS_IF([test -z "${QT_CORE_CXXFLAGS}"], [DISABLE_PLASMAMULE])
12         ])
14         MULE_IF_ENABLED([plasmamule],
15         [
16                 KDE_CONFIG_CHECK
17                 AS_IF([test "${KDE4_CONFIG}" = "not found"], [DISABLE_PLASMAMULE])
18         ])
20         MULE_IF_ENABLED([plasmamule],
21         [
22                 KDE_HEADER_CHECK
23                 AS_IF([test -z ${KDE_HEADER_DIR}], [DISABLE_PLASMAMULE])
24         ])
26         MULE_IF_ENABLED([plasmamule],
27         [
28                 KDE_SERVICE_PATH_CHECK
29                 KDE_MODULE_PATH_CHECK
30                 KDE_ICON_PATH_CHECK
31         ])