From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id AA4F21F885 for ; Fri, 10 Jan 2020 22:06:55 +0000 (UTC) Received: from localhost ([::1]:52274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iq2Qg-0004MB-CD for normalperson@yhbt.net; Fri, 10 Jan 2020 17:06:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44280) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iq2Qa-0004Lv-Kv for bug-gnulib@gnu.org; Fri, 10 Jan 2020 17:06:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iq2QY-0003ta-Mx for bug-gnulib@gnu.org; Fri, 10 Jan 2020 17:06:48 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46360) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iq2QY-0003fj-F9 for bug-gnulib@gnu.org; Fri, 10 Jan 2020 17:06:46 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E3CC8160084; Fri, 10 Jan 2020 14:06:40 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id knvnWIgNF4ZD; Fri, 10 Jan 2020 14:06:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0AC1C1600DC; Fri, 10 Jan 2020 14:06:40 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 23NgXujkPQjY; Fri, 10 Jan 2020 14:06:39 -0800 (PST) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E447E160084; Fri, 10 Jan 2020 14:06:39 -0800 (PST) Subject: Re: Messed up gl_COMPILER_PREPARE_CHECK_DECL To: Bruno Haible References: <20200110151102.GA6823@aun.utmark.mea> <1224659061.1063125.1578687268126@strato-communicator.net> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <7bbc3318-feb4-4510-fd5f-696867c82c31@cs.ucla.edu> Date: Fri, 10 Jan 2020 14:06:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <1224659061.1063125.1578687268126@strato-communicator.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mats Erik Andersson , bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On 1/10/20 12:14 PM, Bruno Haible wrote: > To let me reproduce it, please > - tell your autoconf version, > - tell your automake version, > - tell your m4 version, > - which is the source you're using? inetutils master branch? I can reproduce the problem when building GNU Emacs on Fedora 31 (Autoconf 2.69, Automake 1.16.1, m4 1.4.18) by running the following recipe: mkdir d cd d git clone https://git.savannah.gnu.org/git/emacs.git cd emacs admin/merge-gnulib ./autogen.sh This used the current versions of Emacs and Gnulib, which are Emacs commit 17cfd708575c351d030f8b05c5921d1867028d79 and Gnulib commit f5eb8cea72469348b423ae22068eeb9e1399011b. The last command attempts and fails to upgrade Emacs's copies of Gnulib to the current version of Gnulib, and its output ends like this: Running 'autoreconf -fi -I m4' ... configure.ac:1564: error: AC_REQUIRE(gl_COMPILER_PREPARE_CHECK_DECL): cannot be used outside of an AC_DEFUN'd macro configure.ac:1564: the top level autom4te: /usr/bin/m4 failed with exit status: 1 configure.ac:1564: error: AC_REQUIRE(gl_COMPILER_PREPARE_CHECK_DECL): cannot be used outside of an AC_DEFUN'd macro configure.ac:1564: the top level autom4te: /usr/bin/m4 failed with exit status: 1 autoreconf: /usr/bin/autoconf failed with exit status: 1