Add --disable-install-setuid option so you can build as non-root and

chown/chmod later. Also disable by default on platforms that don't need
    setuid root X servers (Darwin & SPARC's, according to
    InstallXserverSetUID settings in the old Imake config files).
This commit is contained in:
Alan Coopersmith 2005-09-20 15:50:31 +00:00
commit 7d0f47c43c
3 changed files with 31 additions and 0 deletions

View file

@ -67,6 +67,10 @@ endif
install-data-local:
$(mkdir_p) $(logdir)
install-exec-local:
if INSTALL_SETUID
chown root $(DESTDIR)$(bindir)/Xorg
chmod u+s $(DESTDIR)$(bindir)/Xorg
endif