Removed helper apps from plasma-install (Vollstrecker)
[amule.git] / m4 / plasmamule.m4
blob346d71bbd5f2da6885b9d5f43a500eef6f9b3400
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                 AS_IF([test -e `$BUILD_CC -print-file-name=libplasma.so` &&
29                         test -e `$BUILD_CC -print-file-name=libkdecore.so`],
30                         [
31                                 KDE_APPLNK_PATH_CHECK
32                                 KDE_SERVICE_PATH_CHECK
33                                 KDE_MODULE_PATH_CHECK
34                                 KDE_ICON_PATH_CHECK
35                                 KDE_MIME_PATH_CHECK
36                         ],
37                         [DISABLE_PLASMAMULE])
38         ])
39         
40         MULE_IF_ENABLED([debug],
41         [
42                 DEBUGFLAG="-D__DEBUG__"
43                 AC_SUBST(DEBUGFLAG)
44         ])