From 9ab37e8c366fe803f29ae2f9b3a2a8c82da888e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 20 Mar 2012 22:44:08 -0400 Subject: [PATCH] Revert "automake: Don't fail the build if we can't setuid." This reverts commit e7ad5cdcd2eb8a307ad9cf2efdfde76f2e83aeb7. If you ask for setuid install and that fails you didn't get what you asked for and we shouldn't just silently carry on. If installing weston somewhere in your home directory and don't want the setuid bit set, disable that at configure time. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 672110ad..048e58fd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -26,8 +26,8 @@ weston_SOURCES = \ if ENABLE_SETUID_INSTALL install-exec-hook: - -chown root $(DESTDIR)$(bindir)/weston - -chmod u+s $(DESTDIR)$(bindir)/weston + chown root $(DESTDIR)$(bindir)/weston + chmod u+s $(DESTDIR)$(bindir)/weston endif if ENABLE_XSERVER_LAUNCHER