aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2013-04-14 19:36:49 +0300
committerEli Zaretskii2013-04-14 19:36:49 +0300
commit64544985029d58bada3486a3eba7f11ce690c526 (patch)
tree87b2c9751046d9a148297b6cfe76353f610565d2
parentf1fecede1890d514f1d65b4c804714509e3dc401 (diff)
downloademacs-64544985029d58bada3486a3eba7f11ce690c526.tar.gz
emacs-64544985029d58bada3486a3eba7f11ce690c526.zip
Avoid building blessmail and use hard links when installing emacs.exe.
-rw-r--r--Makefile.in4
-rw-r--r--configure.ac11
-rw-r--r--lib-src/Makefile.in2
3 files changed, 15 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 6e0f151ea1a..86eba76005b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -257,6 +257,8 @@ INSTALL_INFO = @INSTALL_INFO@
257INSTALL_STRIP = 257INSTALL_STRIP =
258MKDIR_P = @MKDIR_P@ 258MKDIR_P = @MKDIR_P@
259LN_S = @LN_S@ 259LN_S = @LN_S@
260# Used in "make install". Usually, $(LN_S), but MS-Windows uses hard links.
261LN_EMACS = @LN_EMACS@
260 262
261# We use gzip to compress installed .el files. 263# We use gzip to compress installed .el files.
262GZIP_PROG = @GZIP_PROG@ 264GZIP_PROG = @GZIP_PROG@
@@ -471,7 +473,7 @@ install-arch-dep: src install-arch-indep install-doc
471 chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) || true; \ 473 chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) || true; \
472 if test "x${NO_BIN_LINK}" = x; then \ 474 if test "x${NO_BIN_LINK}" = x; then \
473 rm -f $(DESTDIR)${bindir}/$(EMACS) ; \ 475 rm -f $(DESTDIR)${bindir}/$(EMACS) ; \
474 cd $(DESTDIR)${bindir} && $(LN_S) $(EMACSFULL) $(EMACS); \ 476 cd $(DESTDIR)${bindir} && $(LN_EMACS) $(EMACSFULL) $(EMACS); \
475 fi; \ 477 fi; \
476 else \ 478 else \
477 subdir=${ns_appresdir}/site-lisp; \ 479 subdir=${ns_appresdir}/site-lisp; \
diff --git a/configure.ac b/configure.ac
index 9c8e05cb30f..3eaf1821b47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -810,6 +810,12 @@ dnl AC_PROG_RANLIB
810dnl fi 810dnl fi
811AC_PROG_LN_S 811AC_PROG_LN_S
812 812
813LN_EMACS="\$(LN_S)"
814if test "$opsys" = "mingw32"; then
815 LN_EMACS="ln"
816fi
817AC_SUBST(LN_EMACS)
818
813AC_PATH_PROG(INSTALL_INFO, install-info, :, 819AC_PATH_PROG(INSTALL_INFO, install-info, :,
814 $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin) 820 $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
815dnl Don't use GZIP, which is used by gzip for additional parameters. 821dnl Don't use GZIP, which is used by gzip for additional parameters.
@@ -3033,6 +3039,9 @@ case "$opsys" in
3033 test $ac_cv_header_maillock_h = yes && mail_lock=no 3039 test $ac_cv_header_maillock_h = yes && mail_lock=no
3034 fi 3040 fi
3035 ;; 3041 ;;
3042
3043 mingw32)
3044 mail_lock="none-needed" ;;
3036esac 3045esac
3037 3046
3038BLESSMAIL_TARGET= 3047BLESSMAIL_TARGET=
@@ -3041,6 +3050,8 @@ case "$mail_lock" in
3041 3050
3042 lockf) AC_DEFINE(MAIL_USE_LOCKF, 1, [Define if the mailer uses lockf to interlock the mail spool.]) ;; 3051 lockf) AC_DEFINE(MAIL_USE_LOCKF, 1, [Define if the mailer uses lockf to interlock the mail spool.]) ;;
3043 3052
3053 none-needed) ;;
3054
3044 *) BLESSMAIL_TARGET="need-blessmail" ;; 3055 *) BLESSMAIL_TARGET="need-blessmail" ;;
3045esac 3056esac
3046AC_SUBST(BLESSMAIL_TARGET) 3057AC_SUBST(BLESSMAIL_TARGET)
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 3beb8d4dc17..e0acea867b7 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -241,7 +241,7 @@ $(DESTDIR)${archlibdir}: all
241 umask 022; ${MKDIR_P} $(DESTDIR)${gamedir}; \ 241 umask 022; ${MKDIR_P} $(DESTDIR)${gamedir}; \
242 touch $(DESTDIR)${gamedir}/snake-scores; \ 242 touch $(DESTDIR)${gamedir}/snake-scores; \
243 touch $(DESTDIR)${gamedir}/tetris-scores 243 touch $(DESTDIR)${gamedir}/tetris-scores
244 -if chown ${gameuser} $(DESTDIR)${archlibdir}/update-game-score && chmod u+s $(DESTDIR)${archlibdir}/update-game-score; then \ 244 -if chown ${gameuser} $(DESTDIR)${archlibdir}/update-game-score${EXEEXT} && chmod u+s $(DESTDIR)${archlibdir}/update-game-score${EXEEXT}; then \
245 chown ${gameuser} $(DESTDIR)${gamedir}; \ 245 chown ${gameuser} $(DESTDIR)${gamedir}; \
246 chmod u=rwx,g=rwx,o=rx $(DESTDIR)${gamedir}; \ 246 chmod u=rwx,g=rwx,o=rx $(DESTDIR)${gamedir}; \
247 fi 247 fi