From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65319: compilation error on Android (Termux) Date: Wed, 16 Aug 2023 20:33:36 +0800 Message-ID: <87bkf7jhen.fsf@yahoo.com> References: <7932888.4pN7iFggcO@nimes> <4108631.NNLLXVBRH5@nimes> <878rabllty.fsf@yahoo.com> <4343512.eakKr8yo8t@nimes> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34169"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65319-done@debbugs.gnu.org To: Bruno Haible Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 16 14:34:41 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 1qWFjU-0008bY-Oc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Aug 2023 14:34:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWFiz-0001V5-LP; Wed, 16 Aug 2023 08:34:09 -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 1qWFis-0001UR-QZ for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 08:34:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWFis-0000XI-Ad for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 08:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWFis-0000VM-5o for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 08:34:02 -0400 Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Aug 2023 12:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65319 X-GNU-PR-Package: emacs Mail-Followup-To: 65319@debbugs.gnu.org, luangruo@yahoo.com, bruno@clisp.org Original-Received: via spool by 65319-done@debbugs.gnu.org id=D65319.16921892371919 (code D ref 65319); Wed, 16 Aug 2023 12:34:01 +0000 Original-Received: (at 65319-done) by debbugs.gnu.org; 16 Aug 2023 12:33:57 +0000 Original-Received: from localhost ([127.0.0.1]:39483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWFim-0000Us-Nv for submit@debbugs.gnu.org; Wed, 16 Aug 2023 08:33:56 -0400 Original-Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]:38313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWFik-0000Ud-Q0 for 65319-done@debbugs.gnu.org; Wed, 16 Aug 2023 08:33:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692189228; bh=Gj39SfRmT8RVtjyDWV/4qV+89hkYUFoV/VhZaA1PqtY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=BeGTJg65ADH70SmqaoQI6shicDK/+emmS4Ko6jQDodVGpdWG3BoFwB+EfbI+CE0xlZhuN2JRW0MoLJOG6AKXX8CcmOdR8Mtl4AkqUFS6XeP8z5ciqeLYsasTml62TB5TOOX8yiQHBxcKNgx7JNocPKlA9+GplkR6hqtBHjJT+0y+JINjqsV3/p5XufgA6ZTDNNea/G4OYc1nKFOErSCeYCVBeuefRhfnTQ60ec8QRIVjK2SFJcelzM+bz6L9sLzfo8IsEa3KsDdNOIw/DJ8/lpRDksPfHu8QkZgCLNuLyERFENzPllXb/EqDpG8RJusIgsevUHqDf3HS9OxpKZi51A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692189228; bh=muhEa0zRjC+iZtSogcoWBAnZ1oiiPLPvgNfi0ZVdM1k=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=DYt2CGXu7cZna9b3KSQAUS7c8OGGwLNsxqLR6j8UHwupyPM11xdWW9I1gUhRCe8gXYPV7yf1lJYFhIKNMpZ+GepdzxrYSUnCqFTD+5RQzJyb/Ne2ywV6nffUztGTeqVDoN/711gI4NEy44Q2ifXj8EHHQkcAAm4dC+tTHRpkHY3CCYnpu42LOY2Fct83j7zkSQaJ12aMCtQ195FZ/THXQEZ9DhJjY5bSW8u/yA01JCtHg5DX6MKoyqgpS0wtGTS9pBG35geLkHvYM9YOG2k4Hgva54r9S5DvXGTZj8ep3lrRqKtgl3uiim8/ckPHN2ageRnQd5la4dHnnX3+a/46ug== X-YMail-OSG: 2_pNq30VM1lC0XxUJ372nm39YW7SjtE0NNgV0mGMdJl22YpTPwYJlwkACnHlkXX 9lBROS9JYFRC1xgudw17X0grUQYnZPjjBcC1Q0FmIngI7HWCCJs5m3U_.sVtOBlUz7Lij.SkgOzV bap5aK7PYa8q.BUlGCuMCexDwvwPsLKGFlGu3d2iSgc5sbz9SFydmmXc2ixZU15KltpugiUQtfxc rpNwCVP4Rt4b_HXmRh_vljZ0PYhdq_1SzE_3v8rUca3prtYifqjgEnarb8Na2IsqJ8HDp5D95lUe r9TLjg_UErMX7T9QD8NqatipGx_NTO3KeVyDQ8eb5asSTMw9RWoiozkAeIVdvvkK8CPQQEeqZQIS 6Cps9YVyDyZ.WUK2_1zmBYmTOpaWRvu9JDeQX4um9qzRgKTrYM7P4nQuB7H7Y3M.5W3H_dLnA1w1 .X23gFp.yub8qTDw5cb8ywn_B0Ug8mr0V5pRhCTFpd6ef7_NOrZP1JgAt.XFrNe.edwiMI6ivON4 fEmurnaDnizGlAOKDpjdxgO57uQNcDzQgTwTwcSTQ4iipXWr1FJnYoxIUFlhs2n0i1M9JAjXMeMw 0FXcKhMdJc14L72pN2S145wQt74IlgiWz7N7DY6QIiAstBNTUNTXg2q7kvjDKcBhhQruXTzp8EQ8 hS_tczRtyRp_DV3uxXiZ5hV4BIQIHt3mTVdPYcTp_gppdm1WJxtVsgF2YVPKxIGkoTATuBxe3Klp 5bILYySmot3Vpzstces6m8iQ14Ok4EMKgKU37lubpOa5TZ6kmSauO2Hjhj5.gBw92VnnAJQtxusH TGclILHd.5oqTe74a7phqrubQfX2G7BxspL2Qj.d0P X-Sonic-MF: X-Sonic-ID: 0c537465-e813-4187-8f83-28e4f6727250 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 16 Aug 2023 12:33:48 +0000 Original-Received: by hermes--production-sg3-69654d8bd-tsbjv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 984460ecec288e3a3ef7b8fc77993537; Wed, 16 Aug 2023 12:33:41 +0000 (UTC) In-Reply-To: <4343512.eakKr8yo8t@nimes> (Bruno Haible's message of "Wed, 16 Aug 2023 11:50:11 +0200") X-Mailer: WebService/1.1.21732 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:267578 Archived-At: Bruno Haible writes: > Po Lu wrote: >> Does Gnulib guarantee that the gl_CHECK_FUNCS_ANDROID stuff will >> continue to exist in the future? If so, I'm inclined towards using >> that. > > Yes. This macro is used over 100 times in Gnulib, has not seen any > problem reports in the last 6 months, and is prefixed with 'gl_' > not '_gl_'. Therefore it's very unlikely to go away. > > Note this macro's documentation: > > ... > dnl Thus, the question "does the OS have the function func" has three possible > dnl answers: > dnl - yes, in all versions starting from the given API level, > dnl - no, in no version, > dnl - not in the given API level, but in a later version of Android. > ... > dnl This macro sets two variables: > dnl - gl_cv_onwards_func_ to yes / no / "future OS version" > dnl - ac_cv_func_ to yes / no / no > dnl The first variable allows to distinguish all three cases. > dnl The second variable is set, so that an invocation > dnl gl_CHECK_FUNCS_ANDROID([func], [[#include ]]) > dnl can be used as a drop-in replacement for > dnl AC_CHECK_FUNCS([func]). > > Bruno Thanks. I'll install the change you proposed in short order, and am closing this bug.