MESSAGE
DATE | 2021-01-31 |
FROM | Gavin Smith
|
SUBJECT | Re: [Hangout - NYLXS] Future plans for Autotools
|
From hangout-bounces-at-nylxs.com Sun Jan 31 22:52:21 2021 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id AD6D7163FDF; Sun, 31 Jan 2021 22:52:18 -0500 (EST) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 7A774163FE2; Sun, 31 Jan 2021 22:52:10 -0500 (EST) Resent-From: Ruben Safir Resent-Date: Sun, 31 Jan 2021 22:52:10 -0500 Resent-Message-ID: <20210201035210.GA5517-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mrbrklyn.com (Postfix) with ESMTP id 5C445163FE2 for ; Sun, 31 Jan 2021 17:33:13 -0500 (EST) Received: from localhost ([::1]:42056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6LHL-00083B-QJ for ruben-at-mrbrklyn.com; Sun, 31 Jan 2021 17:33:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6LGn-00082l-Go for autoconf-at-gnu.org; Sun, 31 Jan 2021 17:32:37 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:35493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6LGl-0005i7-Si; Sun, 31 Jan 2021 17:32:37 -0500 Received: by mail-ej1-x635.google.com with SMTP id a9so2999923ejr.2; Sun, 31 Jan 2021 14:32:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dxXcTarl3tPmcOEDBNzKMLWLN2lLMJNhJnVvU3ywMlM=; b=DQl93aGvL8Cnk0uVli+aPhAKMH3Wy6MacrEMe0ICRmvtkM/Qtnhzmng5jtK2sxybNE NmdNMw0PmbxiheWErvhgJVOasmBUVbuBvXjPjT+GUIdql00teXz1lQOBFfJtHM5+0/UX IRGP5/KDVctuYjBi6IYZ0kT9m+3QTF/jWvVBfoFNTBjR6mYjmLvSYL7cQoXT5b6KZv1x JWJN/yW8jK+AhbSRQadIY1nD3keYjLIRQuUudawdXbgO1a40FrEO3Nh+cc8+bcokUcYM ECEEuOdR5NRHs6LvcJGwQGYA6LsUpDde0fIQWWU7POke/Ks95CqZlXUccctvMeYPWFlj PMMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dxXcTarl3tPmcOEDBNzKMLWLN2lLMJNhJnVvU3ywMlM=; b=VT9btVG3kpBpwl1QAWCfEAP+RKg7xPU6Pi5o7nOn05nQJkmkgdVxeNFIsdzcU2eXWS p2it2/VO0/Rf5tJ3sjaf+6iESNrUSxP4mO0imWG0Why1IhS6vW41wjf2dkTfN0DIzUBe IKRQCDPoGsY6ZJwkiPbzNcLTteW2W1JRNQJr5fytW4MtcKkwMoHjRbtHKT9xCQ9v9o22 GSA/VXtE0LZutCBPx/6WMWaFSk5Yk4Dz+sYe0qlvfhjtDKfx4+AyFTlz2s1i983QbqEq GMWaYs0wujoGce01dIJ6PTYjR7omF60mtHgkPTEGntLqUtEhn2HuJhsc+cUMMKSAROMv IrvQ== X-Gm-Message-State: AOAM533oZfCDoSqYcM/VJaqRrazl/hibYSvK+ALBO/RnAMUF4KQIoVjj O8GjYkiEVn7WJTmLx4spbN8= X-Google-Smtp-Source: ABdhPJyjPNKMjSpTE9txyqUCDq33cRwODgl2K+u3ETmec0QSY+Qiu9+Cj/PvpS43pQiJ6wY9CwKMgw== X-Received: by 2002:a17:907:f81:: with SMTP id kb1mr15144309ejc.412.1612132353688; Sun, 31 Jan 2021 14:32:33 -0800 (PST) Received: from mintstar.lan (53.48.208.46.dyn.plus.net. [46.208.48.53]) by smtp.gmail.com with ESMTPSA id a9sm7909338edk.22.2021.01.31.14.32.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 14:32:33 -0800 (PST) From: Gavin Smith X-Google-Original-From: Gavin Smith Received: by mintstar.lan (Postfix, from userid 1000) id E3E48B40251; Sun, 31 Jan 2021 22:32:31 +0000 (GMT) Date: Sun, 31 Jan 2021 22:32:31 +0000 To: Paul Eggert Message-ID: <20210131223231.GA22136-at-mintstar> References: <87zh12osjk.fsf-at-tromey.com> <87eei97w7a.fsf-at-tromey.com> <25f02fe5254319a29cde8215893450fc0e0850f7.camel-at-gnu.org> <6f2198b7-70e4-91de-b4ee-aa8ec7eef912-at-cs.ucla.edu> <20210125225901.GA22668-at-mintstar> <408c6984-b859-2d29-fc8f-e19fd1fcab7d-at-cs.ucla.edu> <20210131221411.GA26916-at-mintstar> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210131221411.GA26916-at-mintstar> User-Agent: Mutt/1.9.4 (2018-02-28) Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=gavinsmith0123-at-gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: autoconf-at-gnu.org X-Mailman-Version: 2.1.23 Precedence: list Cc: Autoconf Subject: Re: [Hangout - NYLXS] Future plans for Autotools X-BeenThere: hangout-at-nylxs.com List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
On Sun, Jan 31, 2021 at 10:14:11PM +0000, Gavin Smith wrote: > Another issue is how to record the results of tests from a a Makefile. > With autoconf, autoconf variables are recorded with AC_CONFIG_FILES > and AC_CONFIG_HEADERS. Presumably the same would have to be done, > substituting in an output file with the values of these variables. > However, there can be many hundreds of them (just look at a Makefile.in > file). As far as I can tell, there isn't an easy way to export > hundreds of Makefile variables to a process. Is there some feature or > trick I'm missing?
I was mislead by the Make manual talking about communicating with a sub-make: the .EXPORT_ALL_VARIABLES target appears to export for any rule (although I didn't get the $(export) directive to work for this). This could be used by a helper script to do substitution.
The "finish-configure" target in the following outputs "1 2 3":
.EXPORT_ALL_VARIABLES:
set-A: $(eval A := $(shell echo 1))
set-B: $(eval B := $(shell echo 2))
set-C: $(eval C := $(shell echo 3))
finish-configure: set-A set-B set-C echo $$A $$B $$C
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|