nnimap.el (nnimap-get-groups): Use \\r rather than ^M in string literals
[gnus] / configure
index 5f6062b..d695604 100755 (executable)
--- a/configure
+++ b/configure
@@ -584,6 +584,8 @@ PACKAGE_URL=
 ac_unique_file="lisp/gnus.el"
 ac_subst_vars='LTLIBOBJS
 LIBOBJS
+COMPRESS_INSTALL
+GZIP_PROG
 USE_FONTS
 WITHOUT_FONTS_bcr
 WITH_FONTS_bcr
@@ -650,6 +652,7 @@ with_emacs
 with_lispdir
 with_etcdir
 with_fonts
+with_compress_install
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1265,6 +1268,8 @@ Optional Packages:
   --with-lispdir=DIR      Where to install lisp files
   --with-etcdir=DIR       Where to install etc files
   --with-fonts            Assume all fonts required are available
+  --without-compress-install
+                          do not compress .el and .info files when installing.
 
 Report bugs to the package provider.
 _ACEOF
@@ -2239,6 +2244,68 @@ fi
 
 
 
+# Extract the first word of "gzip", so it can be a program name with args.
+set dummy gzip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_GZIP_PROG+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $GZIP_PROG in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  ;;
+esac
+fi
+GZIP_PROG=$ac_cv_path_GZIP_PROG
+if test -n "$GZIP_PROG"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5
+$as_echo "$GZIP_PROG" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+# Check whether --with-compress-install was given.
+if test "${with_compress_install+set}" = set; then :
+  withval=$with_compress_install;  if test "${withval}" = no; then
+               COMPRESS_INSTALL=no;
+         else
+               if test -n "${GZIP_PROG}"; then
+                       COMPRESS_INSTALL=yes;
+               else
+                       COMPRESS_INSTALL=no;
+               fi;
+         fi
+else
+   if test -n "${GZIP_PROG}"; then
+               COMPRESS_INSTALL=yes;
+         else
+               COMPRESS_INSTALL=no;
+         fi
+fi
+
+
+
 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
 
 cat >confcache <<\_ACEOF