From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 77A053858420 for ; Tue, 8 Feb 2022 09:15:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 77A053858420 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644311759; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=XHCafsLjMCMh9cwPD5TVk4dKGjq9G1GpoeFSaKmauRA=; b=Co8+Vp3Hul8lVoAH/IbUjV84v0plyU2IZebG/jG/YrZMBQmLLf+GAJtdl0IuWSIfUUeoFm FjdLYNutcsqCkNa4WJrmh8DMU0oLCLQP2A0cmiWA9N82q/7hpTpecV7STLqnG/UObPO4sU zUb+476g7o+HFmzRJDSuyA9zew9CDg4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-515-YeWdbuF1OEm6H9ti0eT3uQ-1; Tue, 08 Feb 2022 04:15:39 -0500 X-MC-Unique: YeWdbuF1OEm6H9ti0eT3uQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C0F3B2E72 for ; Tue, 8 Feb 2022 09:15:38 +0000 (UTC) Received: from calimero.vinschen.de (unknown [10.36.112.15]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 918834F85E for ; Tue, 8 Feb 2022 09:15:38 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 51F98A80D5C; Tue, 8 Feb 2022 10:15:32 +0100 (CET) Date: Tue, 8 Feb 2022 10:15:32 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH 0/5] start converting libgloss to non-recursive automake Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20220205054656.11443-1-vapier@gentoo.org> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=vinschen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2022 09:16:01 -0000 On Feb 7 07:45, Mike Frysinger wrote: > On 07 Feb 2022 12:36, Corinna Vinschen wrote: > > On Feb 5 00:46, Mike Frysinger wrote: > > > This converts the top-level to automake, and then cuts a few subdirs over > > > to non-recursive automake. I didn't cut all the subdirs over to automake, > > > but should be easy to convert more over. > > > > > > Mike Frysinger (5): > > > libgloss: convert top level to automake > > > libgloss: merge doc into top-level Makefile > > > libgloss: merge libgloss into top-level Makefile > > > libgloss: merge iq2000 into top-level Makefile > > > libgloss: merge bfin into top-level Makefile > > > > $ autoreconf > > configure.ac:46: warning: macro 'AM_ENABLE_MULTILIB' not found in library > > configure.ac:31: warning: macro 'AM_ENABLE_MULTILIB' not found in library > > [...] > > > > Problem? A dependency to another not yet applied patch? > > this isn't new behavior. although i understand the mismatch in expectations. > > if you run `autoreconf` in libgloss/ today, you will see these same warnings. > it's because the only way to have aclocal search extra dirs for m4 macros is > either pass the -I flags to autoreconf directly, or have a Makefile.am with > ACLOCAL_AMFLAGS set in it (which autoreconf extracts and passes to aclocal). > > w/out automake, ACLOCAL_AMFLAGS doesn't work, so you have to add all the -I > flags yourself with absolute paths: > $ autoreconf -I $PWD -I $PWD/.. -I $PWD/../config > > yes, i'm converting the top-level to automake, so the ACLOCAL_AMFLAGS are > picked up from there, but that's only the top-level. autoreconf will go > into each subdir and run autoreconf in there, and that's where these are > coming from. once all the subdirs convert over to automake, then you can > go back to running plain `autoreconf` and it'll all just work for you. > > if you run `autoreconf -v`, it's a little more obvious that it's coming > from the subdirs as it'll show: > autoreconf-2.69: configure.ac: adding subdirectory aarch64 to autoreconf > autoreconf-2.69: Entering directory `aarch64' > autoreconf-2.69: running: aclocal > configure.ac:46: warning: macro 'AM_ENABLE_MULTILIB' not found in library > -mike Ok, thanks for this and your other reply. GTG. Corinna