[emacs-w3m:13501] configuration bug: bash-specific redirection notation

Boruch Baum <[email protected]>
Newsgroups gmane.emacs.w3m
Message-ID <[email protected]>
Thank you, Manuel! Nice to hear that you are happy with emacs-w3m, and
that you can use it in OpenBSD. I'm forwarding your message and your
patch to Katsumi for approval and integration.

I'm not a BSD user, mainly because of hardware incompatibility problems
I've faced in the past (and my laziness to try to solve them), but I'm
very interested in that environment. Under OpenBSD, are you able to use
MELPA?

If you have further contributions or reports to make, it's better to do
so to the project's github account
(https://github.com/emacs-w3m/emacs-w3m). If that's not convenient for
you, an alternative is to send an email to the project mailing list
([email protected]).

@Katsumi-san: Why redirect STDERR at all? Sorry for being quiet these
past few weeks; I've fallen behind in a lot of work, and need to catch
up on all my projects. Off-topic, do you now get an error when
performing 'C-c C-s' (M-x w3m-select-buffer) twice in a row?

----- Forwarded message from Manuel Giraud <[email protected]> -----

Date: Tue, 23 Jul 2019 10:19:50 +0200
From: Manuel Giraud <[email protected]>
To: [email protected]
Subject: Non bash redir
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (berkeley-unix)

Hi,

I'm a happy emacs-w3m user on OpenBSD. Without the following patch, the
configure script errors out. It may be due to the fact that the default
shell is not bash here.

Thanks,

----- End forwarded message -----

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
redir.patch (text/x-diff, 576 B)
diff --git a/aclocal.m4 b/aclocal.m4
index f8cc3631..2656ebda 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -11,7 +11,7 @@ fi
 AC_CACHE_VAL(EMACS_cv_SYS_$1,[
 	OUTPUT=./conftest-$$
 	EL=./conftest-$$.el
-	echo "(let ((x ${elisp})) (write-region (format \"%s\" x) nil \"${OUTPUT}\" nil 5) (delete-file \"${EL}\"))" >& ${EL} 2>&1
+	echo "(let ((x ${elisp})) (write-region (format \"%s\" x) nil \"${OUTPUT}\" nil 5) (delete-file \"${EL}\"))" > ${EL} 2>&1
 	eval "'${EMACS}' ${VANILLA_FLAG} -batch -l ${EL}" >& AC_FD_CC 2>&1
 	if test -f ${OUTPUT}; then
 		retval="`cat ${OUTPUT}`"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.