emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114174: Rename configure's --without-compress-info


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114174: Rename configure's --without-compress-info to --without-compress-install
Date: Sun, 08 Sep 2013 23:50:31 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114174
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/9789
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sun 2013-09-08 16:50:23 -0700
message:
  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.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  Makefile.in                    makefile.in-20091113204419-o5vbwnq5f7feedwu-446
  configure.ac                   
configure.in-20091113204419-o5vbwnq5f7feedwu-783
  etc/NEWS                       news-20100311060928-aoit31wvzf25yr1z-1
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-09-08 23:31:14 +0000
+++ b/ChangeLog 2013-09-08 23:50:23 +0000
@@ -1,5 +1,11 @@
 2013-09-08  Glenn Morris  <address@hidden>
 
+       * configure.ac (--without-compress-install):
+       Rename from --without-compress-info.  (Bug#9789)
+       (GZIP_INFO): Remove.
+       (GZIP_PROG): Allow --without-compress-install to disable it.
+       * Makefile.in (GZIP_INFO): Remove all references.
+
        * info/dir: Tweak emacs-gnutls entry.
 
 2013-09-07  Paul Eggert  <address@hidden>

=== modified file 'Makefile.in'
--- a/Makefile.in       2013-09-04 06:45:44 +0000
+++ b/Makefile.in       2013-09-08 23:50:23 +0000
@@ -259,8 +259,6 @@
 
 # We use gzip to compress installed .el files.
 GZIP_PROG = @GZIP_PROG@
-# If non-nil, gzip the installed Info and man pages.
-GZIP_INFO = @GZIP_INFO@
 
 # ============================= Targets ==============================
 
@@ -662,7 +660,7 @@
              for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
               (cd $${thisdir}; \
                ${INSTALL_DATA} ${srcdir}/info/$$f $(DESTDIR)${infodir}/$$f); \
-               ( [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ] ) || continue 
; \
+               [ -n "${GZIP_PROG}" ] || continue ; \
                rm -f $(DESTDIR)${infodir}/$$f.gz; \
                ${GZIP_PROG} -9n $(DESTDIR)${infodir}/$$f; \
              done; \
@@ -684,7 +682,7 @@
          dest=`echo "$${page}" | sed -e 's/\.1$$//' -e '$(TRANSFORM)'`.1; \
          (cd $${thisdir}; \
           ${INSTALL_DATA} ${mansrcdir}/$${page} 
$(DESTDIR)${man1dir}/$${dest}); \
-         ( [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ] ) || continue ; \
+         [ -n "${GZIP_PROG}" ] || continue ; \
          rm -f $(DESTDIR)${man1dir}/$${dest}.gz; \
          ${GZIP_PROG} -9n $(DESTDIR)${man1dir}/$${dest} || true; \
        done
@@ -754,12 +752,12 @@
           for elt in ${INFO_NONMISC} $${info_misc}; do \
             (cd $${thisdir}; \
              $(INSTALL_INFO) --remove --info-dir=$(DESTDIR)${infodir} 
$(DESTDIR)${infodir}/$$elt); \
-            if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \
+            if [ -n "${GZIP_PROG}" ]; then \
                ext=.gz; else ext=; fi; \
             rm -f $$elt$$ext $$elt-[1-9]$$ext $$elt-[1-9][0-9]$$ext; \
           done; \
         fi)
-       (if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \
+       (if [ -n "${GZIP_PROG}" ]; then \
            ext=.gz; else ext=; fi; \
         if cd ${mansrcdir}; then \
           for page in *.1; do \

=== modified file 'configure.ac'
--- a/configure.ac      2013-09-07 00:20:56 +0000
+++ b/configure.ac      2013-09-08 23:50:23 +0000
@@ -266,13 +266,9 @@
 
 ## This is an option because I do not know if all info/man support
 ## compressed files, nor how to test if they do so.
-OPTION_DEFAULT_ON([compress-info],[don't compress the installed Info pages])
-if test $with_compress_info = yes; then
-   GZIP_INFO=yes
-else
-   GZIP_INFO=
-fi
-AC_SUBST(GZIP_INFO)
+OPTION_DEFAULT_ON([compress-install],
+  [don't compress some files (.el, .info, etc.) when installing.  Equivalent 
to:
+make GZIP_PROG= install])
 
 AC_ARG_WITH([pkg-config-prog],dnl
 [AS_HELP_STRING([--with-pkg-config-prog=FILENAME],
@@ -950,6 +946,9 @@
 dnl Don't use GZIP, which is used by gzip for additional parameters.
 AC_PATH_PROG(GZIP_PROG, gzip)
 
+test $with_compress_install != yes && \
+   GZIP_PROG=" # $GZIP_PROG # (disabled by configure 
--without-compress-install)"
+
 if test $opsys = gnu-linux; then
   AC_PATH_PROG(PAXCTL, paxctl,,
     [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin])

=== modified file 'etc/NEWS'
--- a/etc/NEWS  2013-09-07 10:39:29 +0000
+++ b/etc/NEWS  2013-09-08 23:50:23 +0000
@@ -34,6 +34,10 @@
 `--with-file-notification-no'.  See below for file-notify features.
 FIXME?  This feature is not available for the Nextstep port. (?)
 
+** The configure option `without-compress-info' has been generalized,
+and renamed to `without-compress-install'.  It now prevents compression
+of _any_ files during installation.
+
 ** The configure option --with-crt-dir has been removed.
 It is no longer needed, as the crt*.o files are no longer linked
 specially.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]