GNU bug report logs -
#9789
[patch] adding the option --without-compress-el to configure
Previous Next
Reported by: OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
Date: Wed, 19 Oct 2011 00:02:01 UTC
Severity: wishlist
Tags: patch
Merged with 13211,
15297
Found in versions 24.2.90, 24.3.50
Fixed in version 24.4
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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])])
This bug report was last modified 11 years and 319 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.