From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 14B48386F45B for ; Thu, 20 Aug 2020 13:43:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 14B48386F45B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=whitebox@nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4BXQpk2wxxz1qsk9; Thu, 20 Aug 2020 15:43:42 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4BXQpk12jhz1qvJR; Thu, 20 Aug 2020 15:43:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 00PsgHfjpG6D; Thu, 20 Aug 2020 15:43:41 +0200 (CEST) X-Auth-Info: 8BH4A0fPBtsEpve1TS4y5awoEOsiUjk6zcijiL8bQQnqjAezIppm64GkI829Q4NX Received: from igel.home (ppp-46-244-162-139.dynamic.mnet-online.de [46.244.162.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 20 Aug 2020 15:43:41 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 5638F2C27AE; Thu, 20 Aug 2020 15:43:40 +0200 (CEST) From: Andreas Schwab To: Simon Marchi Cc: Sebastian Huber , gdb@sourceware.org, Simon Marchi Subject: Re: Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD References: <3db0603d-659f-40c5-d61d-d94fabfd646e@embedded-brains.de> <1701e3af-7bcd-e268-65d3-dbd5f37e9bce@embedded-brains.de> <2666e1b8-9b16-b988-aefb-22af4a969240@simark.ca> X-Yow: .. does your DRESSING ROOM have enough ASPARAGUS? Date: Thu, 20 Aug 2020 15:43:40 +0200 In-Reply-To: <2666e1b8-9b16-b988-aefb-22af4a969240@simark.ca> (Simon Marchi's message of "Thu, 20 Aug 2020 09:16:10 -0400") Message-ID: <87pn7ll9f7.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2020 13:43:46 -0000 On Aug 20 2020, Simon Marchi wrote: > Indeed, I see this. When I run `autoreconf -vf` in this directory, I get: > > $ autoreconf -vf > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal --force > autoreconf: configure.ac: tracing > autoreconf: configure.ac: not running libtoolize: --install not given > autoreconf: running: /opt/autostuff/bin/autoconf --force > configure.ac:57: error: possibly undefined macro: AC_CHECK_LIB > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > autoreconf: /opt/autostuff/bin/autoconf failed with exit status: 1 > > So the command must have failed when I ran it and I didn't notice, my bad. > > I searched a bit, and I am a bit clueless as for why AC_CHECK_LIB is not found. If > anybody has any idea, help would be appreciated. That's because aclocal cannot find a definition of PKG_CHECK_MODULES. You need to run autoreconf with -I ../../config. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."