From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31762 invoked by alias); 31 May 2012 21:58:12 -0000 Received: (qmail 31751 invoked by uid 22791); 31 May 2012 21:58:11 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from toast.topped-with-meat.com (HELO topped-with-meat.com) (204.197.218.159) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 31 May 2012 21:57:57 +0000 Received: by topped-with-meat.com (Postfix, from userid 5281) id E44232C070; Thu, 31 May 2012 14:57:56 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: "Joseph S. Myers" Cc: libc-ports@sourceware.org Subject: Re: Support sharing ARM headers for hard and soft float In-Reply-To: Joseph S. Myers's message of Wednesday, 30 May 2012 19:36:52 +0000 References: <20120530192738.CDFE32C0A2@topped-with-meat.com> Message-Id: <20120531215756.E44232C070@topped-with-meat.com> Date: Thu, 31 May 2012 21:58:00 -0000 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.0 cv=e8d9udV/ c=1 sm=1 a=W6v1wc1YxnIA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=14OXPxybAAAA:8 a=UIa2V4RfzbWUMx1eI04A:9 a=CjuIK1q_8ugA:10 a=WkljmVdYkabdwxfqvArNOQ==:117 X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00219.txt.bz2 > What I really want here is an AC_SUBSTed makefile variable, set by the > same configure test that puts a definition in config.h with AC_DEFINE. > But I think that's harder to do cleanly (completely independently for each > port) than sorting out the config.h issue (bug 14068); autoconf appears to > want to put all the AC_SUBSTed variables in one shell variable setting in > configure initialization, which isn't really conducive to configure > fragments adding their own. Indeed. Perhaps you could use an AC_CONFIG_COMMANDS to write an extra file like config.arm.make manually. I'm not sure there's any special reason to prefer that over a makefile-generated makefile. Either one is far better than using $(shell ...), which nobody should ever do. Thanks, Roland