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

configuration bug: bash-specific redirection notation

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

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

@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 <manuel@xxxxxxxxxxxxxx> -----

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


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.


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

CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
diff --git a/aclocal.m4 b/aclocal.m4
index f8cc3631..2656ebda 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -11,7 +11,7 @@ fi
-	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}`"