aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-26 13:34:39 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-26 13:34:39 +0000
commit7b4efc89e03015ab33f22d83dac940d3692a2931 (patch)
treed88400646b7098711aa63dc0e9e6677842bfcbb3 /configure.ac
parentc9220a0a404bb0fa98f3ceb9cb90714d02477d03 (diff)
downloadarctica-greeter-7b4efc89e03015ab33f22d83dac940d3692a2931.tar.gz
arctica-greeter-7b4efc89e03015ab33f22d83dac940d3692a2931.tar.bz2
arctica-greeter-7b4efc89e03015ab33f22d83dac940d3692a2931.zip
Drop the idea of using mate-settings-daemon on non-Ubuntu systems, use gnome-settings-daemon instead.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index a7df2f4..39bd921 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,12 +45,12 @@ if $PKG_CONFIG --exists unity-settings-daemon; then
SD_BINARY="$USD_BINARY"
fi
-elif $PKG_CONFIG --exists mate-settings-daemon; then
- MSD_BINARY=`$PKG_CONFIG --variable=binary mate-settings-daemon`
- if test -z "$MSD_BINARY"; then
- AC_MSG_NOTICE([Could not find path to mate-settings-daemon binary])
+elif $PKG_CONFIG --exists gnome-settings-daemon; then
+ GSD_BINARY=`$PKG_CONFIG --variable=binary gnome-settings-daemon`
+ if test -z "$GSD_BINARY"; then
+ AC_MSG_NOTICE([Could not find path to gnome-settings-daemon binary])
else
- SD_BINARY="$MSD_BINARY"
+ SD_BINARY="$GSD_BINARY"
fi
fi
@@ -58,7 +58,7 @@ fi
if test -z "$SD_BINARY"; then
AC_MSG_ERROR([Could not find any of the supported X11 settings daemons])
else
- AC_DEFINE_UNQUOTED([SD_BINARY], ["$MSD_BINARY"], [Path to m-s-d])
+ AC_DEFINE_UNQUOTED([SD_BINARY], ["$SD_BINARY"], [Path to u-s-d/g-s-d])
fi
dnl ###########################################################################