From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: c.buhtz@posteo.jp Newsgroups: gmane.emacs.bugs Subject: bug#62482: Unclear configure errors about "gl_PROG_CC_C99" and "gl_EARLY" Date: Mon, 27 Mar 2023 08:55:14 +0000 Message-ID: Reply-To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3049"; mail-complaints-to="usenet@ciao.gmane.io" To: 62482@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 27 15:15:39 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pgmhG-0000VF-IM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Mar 2023 15:15:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgmgl-0002jJ-6I; Mon, 27 Mar 2023 09:15:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgmgj-0002iI-Ef for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2023 09:15:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgmgj-0001rx-2W for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2023 09:15:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgmgi-0005NM-Sz for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2023 09:15:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: c.buhtz@posteo.jp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Mar 2023 13:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62482 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167992285120524 (code B ref -1); Mon, 27 Mar 2023 13:15:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Mar 2023 13:14:11 +0000 Original-Received: from localhost ([127.0.0.1]:46772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgmfq-0005Ks-7t for submit@debbugs.gnu.org; Mon, 27 Mar 2023 09:14:10 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgidM-0003w6-S5 for submit@debbugs.gnu.org; Mon, 27 Mar 2023 04:55:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgidL-00062w-Ud for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2023 04:55:20 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgidJ-0003QE-O8 for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2023 04:55:19 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 33EDD240191 for ; Mon, 27 Mar 2023 10:55:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017; t=1679907315; bh=TcR4z7vVRyzlEojJ7i9lemfO2xSgUZcM7Qdzx+DNE7c=; h=Date:From:To:Subject:From; b=koZUBW4DKBkvXOpt2sbjs1HxUzKi4pdUp8Jp8hKzdc46PFxYG7Nv5kuhyLEpd7EPG FBNp+sQ6N6bDmLQ6u3bWjjNFTK5J2bzfkFeRaVWFzhjUiCXjULQv+oMM3paqSehZ/S Cv+lxosMPlCWimjHFvswAcI17FhTeOxVAR2uNXA3PqeDfm8Pl4DyPdv5juHohe+Ghe G//x7pC6pC4x7ajs0DmElOd6r++qr90AZXtm5eADgAiB+m9mMbmLfPzTgO0qk3uSX+ X1+6LWxSKd1/Z+AvZm4tRSxwzyfsom7wLnRg2nF3TaeYXOBh3caZjSNwSGMRtI7GdB df1Gyx/GiFfNg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PlRTt0nvFz9rxM for ; Mon, 27 Mar 2023 10:55:14 +0200 (CEST) Mail-Reply-To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=185.67.36.66; envelope-from=c.buhtz@posteo.jp; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 27 Mar 2023 09:14:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258719 Archived-At: Hello, beside I'm interested into how to solve that problem (what is IMHO=20 off-topic on that list) this message main intention is a bug report to=20 improve the output of a configure script. I have this two errors (?) running "configure". It is unclear what they=20 are mean. Even if I look into the "configure" script the meaning is=20 unclear to me. ./configure: line 5063: gl_PROG_CC_C99: command not found ./configure: line 5196: gl_EARLY: command not found Please improve the output of the script to make it easier to understand=20 it for the users, to prevent further support questions and lower the=20 workload for emacs "support channels". To reproduce: I cloned from git and switch to "emacs-29" branch. The machine is a=20 Raspberry Pi4 with Debian 11 (pure Debian, not rasbian). Because the configure script is missing (bug-report exists) I checked=20 the content of "configure.ac". It points out to use "autoconf" to=20 generate such a script. I did. $ autoconf configure.ac:55: error: possibly undefined macro: AS_ECHO If this token and others are legitimate, please use=20 m4_pattern_allow. See the Autoconf documentation. configure.ac:1777: error: possibly undefined macro: m4_default Two errors are there. I don't understand. But a "./configure" was=20 created. So I tried. $=C2=A0./configure checking for xcrun... no checking for GNU Make... make checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes =2E/configure: line 5063: gl_PROG_CC_C99: command not found checking whether gcc and cc understand -c and -o together... yes =2E/configure: line 5196: gl_EARLY: command not found checking whether gcc accepts -g3 -O2... yes checking whether the compiler is clang... no checking how to run the C preprocessor... gcc -E =2E/configure: line 5555: syntax error near unexpected token `-Wno-switch' =2E/configure: line 5555: ` gl_WARN_ADD(-Wno-switch)'