unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9789: [patch] adding the option --without-compress-el to configure
@ 2011-10-19  0:00 OKAZAKI Tetsurou
  2011-10-19  3:46 ` Stefan Monnier
  2011-10-24 17:30 ` Paul Eggert
  0 siblings, 2 replies; 7+ messages in thread
From: OKAZAKI Tetsurou @ 2011-10-19  0:00 UTC (permalink / raw)
  To: 9789


Hi,

On Cygwin with low voltage notebooks, `make install' takes long time
to compress the Lisp source files.

Attached patch adds new configure option `--without-compress-el' which
suppresses automatic compression of the *.el files.


=== modified file 'Makefile.in'
*** Makefile.in	2011-09-26 21:30:18 +0000
--- Makefile.in	2011-10-13 12:14:10 +0000
*************** INSTALL_STRIP =
*** 243,248 ****
--- 243,250 ----
  
  # We use gzip to compress installed .el files.
  GZIP_PROG = @GZIP_PROG@
+ # If non-nil, gzip the installed el files.
+ GZIP_EL = @GZIP_EL@
  # If non-nil, gzip the installed Info and man pages.
  GZIP_INFO = @GZIP_INFO@
  
*************** install-arch-indep: mkdir info install-e
*** 597,603 ****
  	    find . -exec chown $${installuser} {} ';') ; \
  	else true; fi
  	-unset CDPATH; \
! 	if [ -n "${GZIP_PROG}" ]; \
  	then \
  	   echo "Compressing *.el ..." ; \
  	   (cd $(DESTDIR)${lispdir}; for f in `find . -name "*.elc" -print`; do \
--- 599,605 ----
  	    find . -exec chown $${installuser} {} ';') ; \
  	else true; fi
  	-unset CDPATH; \
! 	if [ -n "${GZIP_EL}" ] && [ -n "${GZIP_PROG}" ]; \
  	then \
  	   echo "Compressing *.el ..." ; \
  	   (cd $(DESTDIR)${lispdir}; for f in `find . -name "*.elc" -print`; do \

=== modified file 'configure.in'
*** configure.in	2011-10-18 18:12:53 +0000
--- configure.in	2011-10-18 22:28:21 +0000
*************** else
*** 192,197 ****
--- 192,205 ----
  fi
  AC_SUBST(GZIP_INFO)
  
+ OPTION_DEFAULT_ON([compress-el],[don't compress the installed el files])
+ if test $with_compress_el = yes; then
+    GZIP_EL=yes
+ else
+    GZIP_EL=
+ fi
+ AC_SUBST(GZIP_EL)
+ 
  AC_ARG_WITH([pkg-config-prog],dnl
  [AS_HELP_STRING([--with-pkg-config-prog=PATH],
                    [path to pkg-config for finding GTK and librsvg])])






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-04-11 12:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19  0:00 bug#9789: [patch] adding the option --without-compress-el to configure OKAZAKI Tetsurou
2011-10-19  3:46 ` Stefan Monnier
2011-10-26 23:43   ` OKAZAKI Tetsurou
2011-10-27  1:02     ` Stefan Monnier
2011-10-24 17:30 ` Paul Eggert
2012-04-11 11:36   ` Lars Magne Ingebrigtsen
2012-04-11 12:11     ` Jan D.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).