Revert "automake: Don't fail the build if we can't setuid."
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 21 Mar 2012 02:44:08 +0000 (22:44 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 21 Mar 2012 02:44:08 +0000 (22:44 -0400)
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

index 672110a..048e58f 100644 (file)
@@ -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