diff options
| author | Eli Zaretskii | 2013-04-14 19:36:49 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-04-14 19:36:49 +0300 |
| commit | 64544985029d58bada3486a3eba7f11ce690c526 (patch) | |
| tree | 87b2c9751046d9a148297b6cfe76353f610565d2 | |
| parent | f1fecede1890d514f1d65b4c804714509e3dc401 (diff) | |
| download | emacs-64544985029d58bada3486a3eba7f11ce690c526.tar.gz emacs-64544985029d58bada3486a3eba7f11ce690c526.zip | |
Avoid building blessmail and use hard links when installing emacs.exe.
| -rw-r--r-- | Makefile.in | 4 | ||||
| -rw-r--r-- | configure.ac | 11 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 2 |
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@ | |||
| 257 | INSTALL_STRIP = | 257 | INSTALL_STRIP = |
| 258 | MKDIR_P = @MKDIR_P@ | 258 | MKDIR_P = @MKDIR_P@ |
| 259 | LN_S = @LN_S@ | 259 | LN_S = @LN_S@ |
| 260 | # Used in "make install". Usually, $(LN_S), but MS-Windows uses hard links. | ||
| 261 | LN_EMACS = @LN_EMACS@ | ||
| 260 | 262 | ||
| 261 | # We use gzip to compress installed .el files. | 263 | # We use gzip to compress installed .el files. |
| 262 | GZIP_PROG = @GZIP_PROG@ | 264 | GZIP_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 | |||
| 810 | dnl fi | 810 | dnl fi |
| 811 | AC_PROG_LN_S | 811 | AC_PROG_LN_S |
| 812 | 812 | ||
| 813 | LN_EMACS="\$(LN_S)" | ||
| 814 | if test "$opsys" = "mingw32"; then | ||
| 815 | LN_EMACS="ln" | ||
| 816 | fi | ||
| 817 | AC_SUBST(LN_EMACS) | ||
| 818 | |||
| 813 | AC_PATH_PROG(INSTALL_INFO, install-info, :, | 819 | AC_PATH_PROG(INSTALL_INFO, install-info, :, |
| 814 | $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin) | 820 | $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin) |
| 815 | dnl Don't use GZIP, which is used by gzip for additional parameters. | 821 | dnl 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" ;; | ||
| 3036 | esac | 3045 | esac |
| 3037 | 3046 | ||
| 3038 | BLESSMAIL_TARGET= | 3047 | BLESSMAIL_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" ;; |
| 3045 | esac | 3056 | esac |
| 3046 | AC_SUBST(BLESSMAIL_TARGET) | 3057 | AC_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 |