From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#43754: [PATCH] configure help message of --with-json Date: Sat, 03 Oct 2020 19:49:33 +0200 Message-ID: <871rifurma.fsf@gnus.org> References: <87o8llxwbz.fsf@gnus.org> <834kndgm47.fsf@gnu.org> <87ft6wwvl5.fsf@gnus.org> <83tuvcekfy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30864"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43754@debbugs.gnu.org, syohex@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 03 19:50:23 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOlfr-0007rH-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Oct 2020 19:50:23 +0200 Original-Received: from localhost ([::1]:43340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOlfq-0001At-P1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Oct 2020 13:50:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOlfW-0001AC-5W for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2020 13:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOlfV-00043B-QR for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2020 13:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kOlfV-0000MY-Oy for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2020 13:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Oct 2020 17:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43754 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed Original-Received: via spool by 43754-submit@debbugs.gnu.org id=B43754.16017473871368 (code B ref 43754); Sat, 03 Oct 2020 17:50:01 +0000 Original-Received: (at 43754) by debbugs.gnu.org; 3 Oct 2020 17:49:47 +0000 Original-Received: from localhost ([127.0.0.1]:44391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOlfH-0000M0-KD for submit@debbugs.gnu.org; Sat, 03 Oct 2020 13:49:47 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:55772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOlfF-0000Ln-JT for 43754@debbugs.gnu.org; Sat, 03 Oct 2020 13:49:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3ylQVkNs1vD44bCGV0WlxRTqa1NzuBRbgQ3Z8itDSq4=; b=GXS2komh/7EmK/TV9S44uvNUCX WS6NYx02So4n+IPsBfv3jRDUkjFSP+/fuFpL/7GFV8GCyfWrzXGBqvoX5mwUMNgS21j+4f9/BRelO zpsC0PgFma32xBEZiJFE0wZm8gVNRKso2WfitMpQaNUcARtQKCJiVJiSSf+k+5Q/7eUk=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOlf5-0000tf-16; Sat, 03 Oct 2020 19:49:39 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUnOIxpZGiik0cu QkGRcTBfWCuQipn////0LwWVAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QKAxEuAuHp5TwAAAGmSURB VDjL3ZLbkSMhDEVxBsPYzb+pngCmZAUwXgigjRQAP+Qfwl7xsD1VG8Gq3W24B0kI5Nz/bf7f8meM 7kz0Lp38hztBT45gftrHyX/+HD7GuA9Ap66fvZcvEegxdaBavqFjUOS49/UGuCjs8EjGWGNAUlan GbIIvsP3MRySkyyZIbMB4hTvXd8dj0BetECf27v0HHO8A8i1j4OBMqs4cyG+X18eqtOdhG77tb6D Wrv7Xm4JIPjqZQLva/ObGhjej155aDXU1rZcHmmGVdEOWvMA6Y/qNXgLgKqxXQOwzQqaoUTVZRl6 O/8C4lIKT5DzBGoeCrEGy5GeHgiL7Q6HsCHwKvaSo9O+qxaaRT78u8fMgSktgJt5hrJz/F5dsefi pCzdP1mNmVaOLkMlvKFZs7HWYJmPjUwct4M7c/eIerCLUnqH0aFkh0PWV9ZAJg9UyM7GTte6iabZ SBcoeHjoN+hsnVbs2E1lthya0F7aO5NHUwMofheB+FVsogPwiLuNvz51I+XSzMpMPhbM6cuc7b6P Uv/K+jpe4M3yCKWMxUxFmZaK9y/k9ctSdr/JEgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMC0w M1QxNzo0NjowMiswMDowMIoXHIQAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTAtMDNUMTc6NDY6 MDIrMDA6MDD7SqQ4AAAAAElFTkSuQmCC X-Now-Playing: Shopping's _All Or Nothing_: "Initiative" In-Reply-To: <83tuvcekfy.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 Oct 2020 18:06:41 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189710 Archived-At: Eli Zaretskii writes: > The $MISSING part is for telling the users some libraries they might > want were not available. I'm saying that libjansson should be treated > the same as, say, libgnutls. > >> But if I understand autoconf (and I do not), that shouldn't really >> "spread" to the OPTION_DEFAULT_ stuff, should it? > > "Spread" in the sense that it should affect whether we use DEFAULT_ON > or DEFAULT_IFAVAILABLE? No, I don't think so. Yes, I'm just wondering if whoever added the OPTION_DEFAULT_AVAILABLE did it by mistake by looking at this stuff, or whether there was a reason for it. Oh, hey, whaddayaknow, it was a patch I applied a couple months ago: commit 43091e6c5069797ba17d2c7429e0122d3a5337d9 Author: Noam Postavsky AuthorDate: Fri Aug 14 19:31:16 2020 +0200 Commit: Lars Ingebrigtsen CommitDate: Fri Aug 14 19:31:16 2020 +0200 Make configure say so if we have "--with-json" but no jansson support * configure.ac (OPTION_DEFAULT_IFAVAILABLE): New macro. Use it to define the --with-json option. Add with_json and HAVE_JSON to the 'MISSING' checks (bug#39953). bug#39953 has the rationale behind the change. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no