1 m4_define([DISABLE_PLASMAMULE], [MULE_ENABLEVAR([plasmamule])=disabled])
3 AC_DEFUN([PLASMAMULE_CHECKS],
6 AS_IF([test "${QT_MOC}" = "not found"], [DISABLE_PLASMAMULE])
8 MULE_IF_ENABLED([plasmamule],
11 AS_IF([test -z "${QT_CORE_CXXFLAGS}"], [DISABLE_PLASMAMULE])
14 MULE_IF_ENABLED([plasmamule],
17 AS_IF([test "${KDE4_CONFIG}" = "not found"], [DISABLE_PLASMAMULE])
20 MULE_IF_ENABLED([plasmamule],
23 AS_IF([test -z ${KDE_HEADER_DIR}], [DISABLE_PLASMAMULE])
26 MULE_IF_ENABLED([plasmamule],
28 AS_IF([test -e `$BUILD_CC -print-file-name=libplasma.so` &&
29 test -e `$BUILD_CC -print-file-name=libkdecore.so`],
32 KDE_SERVICE_PATH_CHECK
40 MULE_IF_ENABLED([plasmamule],
42 AS_IF([test -z ${DEB_HOST_ARCH}],
48 MULE_IF_ENABLED([debug],
50 DEBUGFLAG="-D__DEBUG__"