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,
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'
])
kde4datadir="`${KDE4_CONFIG} --install data`"
AS_IF([test "x$kde4datadir" = "x"], [kde4datadir='${datadir}/kde4/apps'])
soliddatadir="${kde4datadir}/solid/actions"
], [
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