GNU bug report logs - #39953
27.0.50; [PATCH] explicitly fail if Emacs was configured with but cannot compile native JSON support

Previous Next

Package: emacs;

Reported by: Stéphane Maniaci <stephane.maniaci <at> gmail.com>

Date: Fri, 6 Mar 2020 15:31:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 27.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stéphane Maniaci <stephane.maniaci <at> gmail.com>
Cc: 39953 <at> debbugs.gnu.org
Subject: bug#39953: 27.0.50; [PATCH] explicitly fail if Emacs was configured with but cannot compile native JSON support
Date: Fri, 06 Mar 2020 17:49:10 +0200
> From: Stéphane Maniaci <stephane.maniaci <at> gmail.com>
> Date: Fri, 6 Mar 2020 12:13:17 +0000
> 
> This patch explicitly fails ./configure if `--with-json' is passed but
> cannot be fulfilled. Which means users without the Jansson headers
> won't be able to compile Emacs unless explicitly disabling it with
> `--without-json'; I don't know if that is too extreme, maybe
> AC_MSG_WARN would be more appropriate, but as long as it's notified in
> some way to the user I'm happy.

I think such handling of optional libraries is generally considered as
annoyance, so we only do that for some specific libraries.

Let's see what others think about this proposal.




This bug report was last modified 4 years and 339 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.