diff options
author | Glenn Morris <rgm@gnu.org> | 2013-04-17 22:03:53 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-04-17 22:03:53 -0700 |
commit | 4f8902cd02ff6c182dddf5217d2683cb6abdb728 (patch) | |
tree | 0167556a75b12444999772e0e8022332f6414981 /Makefile.in | |
parent | 29f47822781c138daa36a6acda85b09bccc52a95 (diff) | |
download | emacs-4f8902cd02ff6c182dddf5217d2683cb6abdb728.tar.gz |
Replace AC_PROG_LN_S by a less strict configure test
* configure.ac (AC_PROG_LN_S): Remove, too restrictive.
(LN_S_FILEONLY): New output variable.
* Makefile.in (LN_S): Remove.
(LN_S_FILEONLY): New, set by configure.
(install-arch-dep): Use LN_S_FILEONLY rather than LN_S.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index bd77fa6a70d..019460acf3c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -253,7 +253,8 @@ INSTALL_INFO = @INSTALL_INFO@ # By default, we uphold the dignity of our programs. INSTALL_STRIP = MKDIR_P = @MKDIR_P@ -LN_S = @LN_S@ +# Create a link to a file in the same directory as the target. +LN_S_FILEONLY = @LN_S_FILEONLY@ # We use gzip to compress installed .el files. GZIP_PROG = @GZIP_PROG@ @@ -455,7 +456,7 @@ install-arch-dep: src install-arch-indep install-doc chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) || true; \ if test "x${NO_BIN_LINK}" = x; then \ rm -f $(DESTDIR)${bindir}/$(EMACS) ; \ - cd $(DESTDIR)${bindir} && $(LN_S) $(EMACSFULL) $(EMACS); \ + cd $(DESTDIR)${bindir} && $(LN_S_FILEONLY) $(EMACSFULL) $(EMACS); \ fi; \ else \ subdir=${ns_appresdir}/site-lisp; \ |