Use $(LN_S) provided by AC_PROG_LN_S macro to create links

For better code portability.

Reviewed-By:  Matt Dew <marcoz@osource.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Gaetan Nadon 2013-09-28 15:26:34 -04:00 committed by Keith Packard
parent 28c8e19107
commit a1d87576a3

View File

@ -90,7 +90,7 @@ install-data-local:
install-exec-local: install-binPROGRAMS
(cd $(DESTDIR)$(bindir) && rm -f X && ln -s Xorg$(EXEEXT) X)
(cd $(DESTDIR)$(bindir) && rm -f X && $(LN_S) Xorg$(EXEEXT) X)
if INSTALL_SETUID
chown root $(DESTDIR)$(bindir)/Xorg
chmod u+s $(DESTDIR)$(bindir)/Xorg