From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4731B1F619 for ; Fri, 13 Mar 2020 21:54:29 +0000 (UTC) Received: from localhost ([::1]:38196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCsGB-0006gN-Uz for normalperson@yhbt.net; Fri, 13 Mar 2020 17:54:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51389) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCsG7-0006gD-Hp for bug-gnulib@gnu.org; Fri, 13 Mar 2020 17:54:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCsG6-0003KW-Gc for bug-gnulib@gnu.org; Fri, 13 Mar 2020 17:54:23 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::5]:26120) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCsG5-0002v7-RG; Fri, 13 Mar 2020 17:54:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1584136459; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=e6NGbJMpRwgW9E7g2R+XAUd579GfMsVA8cvPMDhd6Gg=; b=Z4BWICqH4vsPbnLwrdcn37dGvEEFO/anS1mTTGpb7+U1ZXpmGHioedtViAzOWhMwZJ IdHAaG9bUeVx1noHGoC9ZgsB3V8y7r0A9scrl8P61qWkTOKFP38ouWFDgeJR+KL0RGO9 fWeOAyP8SutH1nqtBn/YG2IDIgq/aOtEY94OkoY42qD0+5Gsg1zQFeTQ08EfaC4yrcvU iY3d39NzQaS/4fTft4uQX2AV0lPq3orbmxxsIoiC48OpN0VA/OOQeJORzphutFr8J60Q +a7s2Sd/0Okys11n/ZgcRRxxv2kOxAWNGwLjarS8EaXDdhfveu6kLXNHbyIp0LoFi+ZV 1Cgg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.2.0 DYNA|AUTH) with ESMTPSA id e02763w2DLsG6Am (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 13 Mar 2020 22:54:16 +0100 (CET) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: gl_CACHE_VAL_SILENT won't work correctly with upcoming autoconf 2.70 Date: Fri, 13 Mar 2020 22:54:16 +0100 Message-ID: <1867344.WzrmtSNFgT@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::5 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: autoconf@gnu.org, Zack Weinberg Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" [CCing autoconf@gnu.org] Hi Zack, > Abstractly, the best thing to do about this would be to remove the > macro and change all of its uses to be AC_CACHE_CHECK, with proper > messaging, instead. The point is that we don't want messaging for some tests. Most people find the 'configure' output already long enough. The underlying problem in Autoconf is the following: There is a macro AC_CACHE_CHECK that does messaging, and a macro AC_CACHE_VAL whose main purpose is to make a cache lookup, not messaging, but it nevertheless outputs '(cached)' strings occasionally. Please fix this correctly - either by having AC_CACHE_VAL set some shell variable that AC_CACHE_CHECK will inspect after executing AC_CACHE_VAL, - or by introducing a macro that is like AC_CACHE_VAL but produces no spurious output. Then AC_CACHE_VAL or the other macro is properly silent, and then no gl_CACHE_VAL_SILENT will be needed any more. Bruno