From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Sat, 05 Aug 2023 14:47:59 +0200 Message-ID: <6358080.k4LH7P0x6x@nimes> References: <1428589171.162865.1691134964773@mail1.libero.it> <3473524.ldcX8TXnAK@nimes> <83fs4xslst.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38427"; mail-complaints-to="usenet@ciao.gmane.io" Cc: angelo.g0@libero.it, luangruo@yahoo.com, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 05 14:48:39 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qSGhy-0009rH-Sq for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Aug 2023 14:48:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSGhg-0005Tz-C9; Sat, 05 Aug 2023 08:48:20 -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 1qSGhd-0005Tq-Ba for emacs-devel@gnu.org; Sat, 05 Aug 2023 08:48:17 -0400 Original-Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.53]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSGha-0005t1-MM; Sat, 05 Aug 2023 08:48:16 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1691239680; cv=none; d=strato.com; s=strato-dkim-0002; b=sqWzPMQPZlN4ygg1uEXBXKSJUlHmDf6F9GbpL3Qo+x/C5oW07d+mRn2gSxMXlnubHT yhdbTe1dvZWM+0D62yPeW6OFHEITAlixDVNEc62SOFXo3QzIsqwvdPQavBEpHkU8YjaS eouNdadD+R2c7RfbTK/6jj6ROKTXFBlesDGW4utbM3bbYYXdSjDUNnlIs5KTRFU+yztw 4RLHiQJ2Ambqx9dG9mPH6v3lhhLGJFeEnErMYup2rrnTp6dVp0BGiGKDw9I/B6j4zsjd 7MR2Qlk95ug5fv/uyWd08jMJos+BRmROg4q3CNyjojYYWm+hIRit8nh9MGtS8+jJvG8b LFEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1691239680; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=iHMsUo+8kj5RRMeM//EVIeua7v/JPMjm09ZDooJLABo=; b=OUQkFuQabUPAJgCEfRvHKuG9qwUxTTSpm+6rgWVNMwpGr0aIvD4ssSX165Dz4Unkfs 1jWwvRp/SOf5kNDFgHJNwH20PA6ybG38GU7JJ775LxGxm6Bbi1WeSDMvXh7GLvzfH5GF 8M0NFbywQHJtYrzwtd+pw9IhnVcjkNfCaqoubTtNhLgqnhHO8SM5HMywf/XPFFnANjJR 5JpYAV7h+x5L2d+VnXZ0aLk9ZgvGdek608xlfrnKkRNglN11j+q4Rq0ybLx6RU3y9/CV IiCQ8mSzvvTaJxltJBW+lwUbVGwZ70SQJX4a7enHAEMGTz5rpmDBwVFWSDA6WnjaYn2/ +hAw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1691239680; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=iHMsUo+8kj5RRMeM//EVIeua7v/JPMjm09ZDooJLABo=; b=DAvbI8bsuULXfVeAApj7LVWziz4n+Hs+0ZRy8i+zwMcMHa0KF3tirdI5mh1vPGdOF7 wweu5zaAMUgqftheEZaHu4cBwkmeS10SAtLuCmtyLClx7qdhVsMRsyxh/Wq7EFl0uL/k Hg4+2S0Ji6T8oxkW/FJyhL0CcZh6HI/kBsfUEivTEHD9QbjqXdO2OzvzLAxOnDopny/g wktvfJTNpb1N0skd9V199NsMK63hBYPOzCsepY7q3tftpcVeFQdFlxfgOqIemcKx1O9u Ette1uimiJyu0KqdaDsGqslBBv5Ati2K8Gs5BR4jYDcAJnJ5JSfV91CcTBFnQfALMFKK nYyg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1691239679; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=iHMsUo+8kj5RRMeM//EVIeua7v/JPMjm09ZDooJLABo=; b=vegl4zAoqPuh3Ty3IVHs3mYyeUJdKfqA8XyXqk8RoBC5RcFXMzXEH7TUGepW1GN7Ke hf05ONHalAux8gK/FaDQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOQjvJO92xURICTbiXlAvORnk3W3A==" Original-Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.6 AUTH) with ESMTPSA id x129eaz75ClxWt2 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 5 Aug 2023 14:47:59 +0200 (CEST) In-Reply-To: <83fs4xslst.fsf@gnu.org> Received-SPF: none client-ip=85.215.255.53; envelope-from=bruno@clisp.org; helo=mo4-p01-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308320 Archived-At: Eli Zaretskii wrote: > > 2) after this #include, add > > #define asprintf rpl_asprintf > > #define printf __printf__ > > #define vasprintf rpl_vasprintf > > #define vfprintf rpl_vfprintf > > and add prototypes for these 4 functions. > > I'd prefer to use the simpler machinery of OMIT_GNULIB_MODULE to > prevent the Emacs build from compiling asprintf.c and similar > replacements on MS-Windows. Is that possible? Only Paul can answer this. The OMIT_GNULIB_MODULE mechanism is an Emacs invention. Gnulib's mechanism for avoiding modules is the --avoid= option to gnulib-tool. But that omits the module on *all* platforms. Gnulib's preferred mechanism for tweaking the behaviour on a platform- by-platform basis is to preset some gl_cv_* variables, so as to shortcut specific configure tests. Bruno