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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stéphane Maniaci <stephane.maniaci <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; [PATCH] explicitly fail if Emacs was configured with but
 cannot compile native JSON support
Date: Fri, 6 Mar 2020 12:13:17 +0000
[Message part 1 (text/plain, inline)]
Hello,

I was trying to give the Emacs 27 pre-test a spin, notably for the
native JSON support, and it took me a long time to figure out it
wasn't actually being configured for it as I was missing the Jansson
library headers.

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.

It's also my very first patch so please excuse any mistakes in the
protocol/patch.

Cheers,
Stéphane.
[0001-configure.ac-warn-users-if-they-can-t-compile-native.patch (application/octet-stream, attachment)]

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

Previous Next


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