Commit 8fc0329d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Avoid debianutils (which) and kdelibs (kde4-config) build-deps

parent 193e6eac
......@@ -4428,19 +4428,29 @@ AC_SUBST(DEFS_BIGENDIAN)
dnl
dnl Where to install KDE solid .desktop
dnl
AC_ARG_VAR([KDE4_CONFIG], [path to kde4-config utility])
AS_IF([test "x$KDE4_CONFIG" = "x"], [
KDE4_CONFIG="kde4-config"
])
AC_ARG_WITH(kde-solid,
AS_HELP_STRING([--with-kde-solid=PATH],[KDE Solid action directory (auto)]))
AS_IF([test "${with_kde_solid}" != "no"],[
AS_IF([test -z "${with_kde_solid}"],[
AS_IF([which kde4-config],[
with_kde_solid="`kde4-config --install data`/solid/actions/"
AS_HELP_STRING([--with-kde-solid=PATH],
[KDE Solid actions directory (auto)]),, [
with_kde_solid="yes"
])
soliddatadir=""
AS_IF([test "${with_kde_solid}" != "no"], [
AS_IF([test "${with_kde_solid}" = "yes"], [
soliddatadir="`${KDE4_CONFIG} --install data`solid/actions"
AS_IF([test "x${soliddatadir}" = "x"], [
soliddatadir='$(datadir)/kde4/apps/solid/actions'
])
], [
soliddatadir="${with_kde_solid}"
])
],[
with_kde_solid=''
])
AC_SUBST(soliddatadir,[${with_kde_solid}])
AM_CONDITIONAL(KDE_SOLID, [test -n ${with_kde_solid}])
AC_SUBST(soliddatadir)
AM_CONDITIONAL(KDE_SOLID, [test "x${soliddatadir}" != "x"])
dnl
dnl DLL loader copied from MPlayer copied from somewhere else (WINE ?)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment