From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6NdxClvwqGAbAwEAgWs5BA (envelope-from ) for ; Sat, 22 May 2021 13:51:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aDQIBlvwqGBlGwAAbx9fmQ (envelope-from ) for ; Sat, 22 May 2021 11:51:55 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 73B4E29435 for ; Sat, 22 May 2021 13:51:54 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 155E32A9C3; Sat, 22 May 2021 07:51:51 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1D7CE2A9A4 for ; Sat, 22 May 2021 07:51:48 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id BC6D45FD25; Sat, 22 May 2021 07:51:48 -0400 (EDT) Received: (nullmailer pid 1492288 invoked by uid 1000); Sat, 22 May 2021 11:51:47 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH] configure: $(CC) -o /dev/null when output not run In-Reply-To: <20210521210250.9290-1-tomi.ollila@iki.fi> References: <20210521210250.9290-1-tomi.ollila@iki.fi> Date: Sat, 22 May 2021 08:51:47 -0300 Message-ID: <87v97bt298.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: T6KMGTP6CQ5ESTFQWTVNTVZZQYX3ZQ54 X-Message-ID-Hash: T6KMGTP6CQ5ESTFQWTVNTVZZQYX3ZQ54 X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: tomi.ollila@iki.fi X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621684314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=azbV3vw5jOh7eXbGWmDqDjDwpbQRIvlf6ZdpJVjve7c=; b=MfCfvGOikJlpkLomTCSVLuJurtqFIKWbNQEW3nmAKBVO53xjix+KmvaAc76+Z0Y7TFeyQj tCNtSEDyNh5fTGVEX8O7WVFtQZYkynpYN37jFWtjOlZRLciyE5GIXkXvlGjt+9ueuWmCz0 eJKYRPGWKDDx+nBaVzS0Tn12svxQn7XWDp48UajIGNQpw7TKYp0UVVu0/fMNvVcsTc+Oyt nNoZNCh97zQEjpF0MjuH2gD2cRX56rkqnVwkZ556wrgulMIzuSwr3YVHqd7nkC/X4hU9Jw Hh5+1iFh64g5lJ/FeLtobPbMXIKt+HhLq4BIn3g6wuVwT4SELckGNfsFo9d+Sw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621684314; a=rsa-sha256; cv=none; b=fZa6oscOnE4A9dZ9r4lc6WCZ6DxOlEKPWReEQKnEyicUTZVw+tA4kmDJ1uwPK/uIxaK2YO joPsxO1m3NIINM7jN/Un0K3MM2QFpdfcBFTdoV3ofMYSJP2rV8c+e8F5zEBicGlKE8+bml pluEBZofDsecC7dC4Z76RWUah/lxVsmYVIAY6kHytlXoaRSTkPpesB56mD3UzORQIKMWYo ln5ipAxsZQD1ZmDLudzNO5eIaag/gt1lhSu4dHaH21jddBLSI3L0dmb/kTjUbcjFPxltuN eeqYTODjAYYoGh27Wr65DAMCoHbdYfKuK2G2OsBmhi2w2AUzuiC0RRcNBa+FFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 73B4E29435 X-Spam-Score: -1.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: fSocPnY8Le50 Tomi Ollila writes: > When C compilation is used just to see whether compilation > succeeds, there is no need to write any output file. > > Some compilations in configure already did this. > > Now also rm -f lines are used more consistently. > > While at it reformatted code that prints > LIBNOTMUCH_{MAJOR,MINOR,MICRO}_VERSION). no objection in principle, but has anyone tried a compiler other than gcc to make sure it doesn't puke when writing to /dev/null. Not sure why it would, but...