Commit 92dda122 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix flawed KDE4-config detection logic

parent f6ef5546
...@@ -4443,10 +4443,9 @@ AC_ARG_WITH(kde-solid, ...@@ -4443,10 +4443,9 @@ AC_ARG_WITH(kde-solid,
soliddatadir="" soliddatadir=""
AS_IF([test "${with_kde_solid}" != "no"], [ AS_IF([test "${with_kde_solid}" != "no"], [
AS_IF([test "${with_kde_solid}" = "yes"], [ AS_IF([test "${with_kde_solid}" = "yes"], [
soliddatadir="`${KDE4_CONFIG} --install data`solid/actions" kde4datadir="`${KDE4_CONFIG} --install data`"
AS_IF([test "x${soliddatadir}" = "x"], [ AS_IF([test "x$kde4datadir" = "x"], [kde4datadir='${datadir}/kde4/apps'])
soliddatadir='$(datadir)/kde4/apps/solid/actions' soliddatadir="${kde4datadir}/solid/actions"
])
], [ ], [
soliddatadir="${with_kde_solid}" soliddatadir="${with_kde_solid}"
]) ])
......
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