configure: Add --enable-setuid-install

This adds support for installing the compositor setuid.
This commit is contained in:
Kristian Høgsberg
2012-01-19 13:32:17 -05:00
parent 8423a89d41
commit 44d4de656b
2 changed files with 21 additions and 0 deletions
+6
View File
@@ -22,6 +22,12 @@ weston_SOURCES = \
util.c \
$(xserver_launcher_sources)
if ENABLE_SETUID_INSTALL
install-exec-hook:
chown root $(bindir)/weston
chmod u+s $(bindir)/weston
endif
if ENABLE_XSERVER_LAUNCHER
xserver_launcher_sources = \
xserver-launcher.c \