aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-09-08 16:50:23 -0700
committerGlenn Morris2013-09-08 16:50:23 -0700
commit335142f9f36cc8e15e5770d2ac5373159046a53d (patch)
treeae66d1fb4a8eecceaa5a61faa87906f9f416fa47
parent7dc61a66e79e4d6102e2574e99eb704184e802b7 (diff)
downloademacs-335142f9f36cc8e15e5770d2ac5373159046a53d.tar.gz
emacs-335142f9f36cc8e15e5770d2ac5373159046a53d.zip
Rename configure's --without-compress-info to --without-compress-install
* configure.ac (--without-compress-install): Rename from --without-compress-info. (GZIP_INFO): Remove. (GZIP_PROG): Allow --without-compress-install to disable it. * Makefile.in (GZIP_INFO): Remove all references. * etc/NEWS: Mention this. Fixes: debbugs:9789
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in10
-rw-r--r--configure.ac13
-rw-r--r--etc/NEWS4
4 files changed, 20 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 0111f18ce70..03a04c6367c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
12013-09-08 Glenn Morris <rgm@gnu.org> 12013-09-08 Glenn Morris <rgm@gnu.org>
2 2
3 * configure.ac (--without-compress-install):
4 Rename from --without-compress-info. (Bug#9789)
5 (GZIP_INFO): Remove.
6 (GZIP_PROG): Allow --without-compress-install to disable it.
7 * Makefile.in (GZIP_INFO): Remove all references.
8
3 * info/dir: Tweak emacs-gnutls entry. 9 * info/dir: Tweak emacs-gnutls entry.
4 10
52013-09-07 Paul Eggert <eggert@cs.ucla.edu> 112013-09-07 Paul Eggert <eggert@cs.ucla.edu>
diff --git a/Makefile.in b/Makefile.in
index 204099cc202..c6254fd6098 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -259,8 +259,6 @@ LN_S_FILEONLY = @LN_S_FILEONLY@
259 259
260# We use gzip to compress installed .el files. 260# We use gzip to compress installed .el files.
261GZIP_PROG = @GZIP_PROG@ 261GZIP_PROG = @GZIP_PROG@
262# If non-nil, gzip the installed Info and man pages.
263GZIP_INFO = @GZIP_INFO@
264 262
265# ============================= Targets ============================== 263# ============================= Targets ==============================
266 264
@@ -662,7 +660,7 @@ install-info: info
662 for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \ 660 for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
663 (cd $${thisdir}; \ 661 (cd $${thisdir}; \
664 ${INSTALL_DATA} ${srcdir}/info/$$f $(DESTDIR)${infodir}/$$f); \ 662 ${INSTALL_DATA} ${srcdir}/info/$$f $(DESTDIR)${infodir}/$$f); \
665 ( [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ] ) || continue ; \ 663 [ -n "${GZIP_PROG}" ] || continue ; \
666 rm -f $(DESTDIR)${infodir}/$$f.gz; \ 664 rm -f $(DESTDIR)${infodir}/$$f.gz; \
667 ${GZIP_PROG} -9n $(DESTDIR)${infodir}/$$f; \ 665 ${GZIP_PROG} -9n $(DESTDIR)${infodir}/$$f; \
668 done; \ 666 done; \
@@ -684,7 +682,7 @@ install-man:
684 dest=`echo "$${page}" | sed -e 's/\.1$$//' -e '$(TRANSFORM)'`.1; \ 682 dest=`echo "$${page}" | sed -e 's/\.1$$//' -e '$(TRANSFORM)'`.1; \
685 (cd $${thisdir}; \ 683 (cd $${thisdir}; \
686 ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${dest}); \ 684 ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${dest}); \
687 ( [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ] ) || continue ; \ 685 [ -n "${GZIP_PROG}" ] || continue ; \
688 rm -f $(DESTDIR)${man1dir}/$${dest}.gz; \ 686 rm -f $(DESTDIR)${man1dir}/$${dest}.gz; \
689 ${GZIP_PROG} -9n $(DESTDIR)${man1dir}/$${dest} || true; \ 687 ${GZIP_PROG} -9n $(DESTDIR)${man1dir}/$${dest} || true; \
690 done 688 done
@@ -754,12 +752,12 @@ uninstall: uninstall-$(NTDIR) uninstall-doc
754 for elt in ${INFO_NONMISC} $${info_misc}; do \ 752 for elt in ${INFO_NONMISC} $${info_misc}; do \
755 (cd $${thisdir}; \ 753 (cd $${thisdir}; \
756 $(INSTALL_INFO) --remove --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \ 754 $(INSTALL_INFO) --remove --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \
757 if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \ 755 if [ -n "${GZIP_PROG}" ]; then \
758 ext=.gz; else ext=; fi; \ 756 ext=.gz; else ext=; fi; \
759 rm -f $$elt$$ext $$elt-[1-9]$$ext $$elt-[1-9][0-9]$$ext; \ 757 rm -f $$elt$$ext $$elt-[1-9]$$ext $$elt-[1-9][0-9]$$ext; \
760 done; \ 758 done; \
761 fi) 759 fi)
762 (if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \ 760 (if [ -n "${GZIP_PROG}" ]; then \
763 ext=.gz; else ext=; fi; \ 761 ext=.gz; else ext=; fi; \
764 if cd ${mansrcdir}; then \ 762 if cd ${mansrcdir}; then \
765 for page in *.1; do \ 763 for page in *.1; do \
diff --git a/configure.ac b/configure.ac
index c7cdc01e3e7..ba5e9d2fb08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -266,13 +266,9 @@ AC_SUBST(cache_file)
266 266
267## This is an option because I do not know if all info/man support 267## This is an option because I do not know if all info/man support
268## compressed files, nor how to test if they do so. 268## compressed files, nor how to test if they do so.
269OPTION_DEFAULT_ON([compress-info],[don't compress the installed Info pages]) 269OPTION_DEFAULT_ON([compress-install],
270if test $with_compress_info = yes; then 270 [don't compress some files (.el, .info, etc.) when installing. Equivalent to:
271 GZIP_INFO=yes 271make GZIP_PROG= install])
272else
273 GZIP_INFO=
274fi
275AC_SUBST(GZIP_INFO)
276 272
277AC_ARG_WITH([pkg-config-prog],dnl 273AC_ARG_WITH([pkg-config-prog],dnl
278[AS_HELP_STRING([--with-pkg-config-prog=FILENAME], 274[AS_HELP_STRING([--with-pkg-config-prog=FILENAME],
@@ -950,6 +946,9 @@ AC_PATH_PROG(INSTALL_INFO, install-info, :,
950dnl Don't use GZIP, which is used by gzip for additional parameters. 946dnl Don't use GZIP, which is used by gzip for additional parameters.
951AC_PATH_PROG(GZIP_PROG, gzip) 947AC_PATH_PROG(GZIP_PROG, gzip)
952 948
949test $with_compress_install != yes && \
950 GZIP_PROG=" # $GZIP_PROG # (disabled by configure --without-compress-install)"
951
953if test $opsys = gnu-linux; then 952if test $opsys = gnu-linux; then
954 AC_PATH_PROG(PAXCTL, paxctl,, 953 AC_PATH_PROG(PAXCTL, paxctl,,
955 [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin]) 954 [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin])
diff --git a/etc/NEWS b/etc/NEWS
index cd69a8e09a0..7da67efeadd 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -34,6 +34,10 @@ build time. To prevent this, use the configure option
34`--with-file-notification-no'. See below for file-notify features. 34`--with-file-notification-no'. See below for file-notify features.
35FIXME? This feature is not available for the Nextstep port. (?) 35FIXME? This feature is not available for the Nextstep port. (?)
36 36
37** The configure option `without-compress-info' has been generalized,
38and renamed to `without-compress-install'. It now prevents compression
39of _any_ files during installation.
40
37** The configure option --with-crt-dir has been removed. 41** The configure option --with-crt-dir has been removed.
38It is no longer needed, as the crt*.o files are no longer linked 42It is no longer needed, as the crt*.o files are no longer linked
39specially. 43specially.