From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: CHECK_STRUCTS/dmpstruct.h mechanism is broken. Date: Tue, 16 Apr 2019 11:10:52 -0700 Organization: UCLA Computer Science Department Message-ID: <17e9662c-6a4a-b66d-f573-4c2cdc9756be@cs.ucla.edu> References: <20190228202146.GC4686@ACM> <20190228205955.GD4686@ACM> <20190410162203.GA4009@ACM> <9809d5ce-c1c4-48e9-6dac-489431b34067@cs.ucla.edu> <671ba8dd-894b-5698-d162-8901b1098b9a@cs.ucla.edu> <83k1g04al8.fsf@gnu.org> <93b861b3-41d2-e590-d4b8-46a4bb64bfe8@cs.ucla.edu> <8736mmxr2e.fsf@Rainer.invalid> <87h8b1yrsi.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="156288"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cc: Stromeko@nexgo.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 16 20:11:36 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGSYR-000eZr-Lk for ged-emacs-devel@m.gmane.org; Tue, 16 Apr 2019 20:11:35 +0200 Original-Received: from localhost ([127.0.0.1]:40613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGSYQ-0002GA-K4 for ged-emacs-devel@m.gmane.org; Tue, 16 Apr 2019 14:11:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGSXr-0002FQ-MB for emacs-devel@gnu.org; Tue, 16 Apr 2019 14:11:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGSXp-0000td-Pd for emacs-devel@gnu.org; Tue, 16 Apr 2019 14:10:59 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59048) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGSXn-0000pi-Og; Tue, 16 Apr 2019 14:10:57 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 85201161621; Tue, 16 Apr 2019 11:10:53 -0700 (PDT) Original-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 m50FPpdmZTZQ; Tue, 16 Apr 2019 11:10:52 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A471016162A; Tue, 16 Apr 2019 11:10:52 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-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 tbg81ArLGzKJ; Tue, 16 Apr 2019 11:10:52 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 88187160A4B; Tue, 16 Apr 2019 11:10:52 -0700 (PDT) Openpgp: preference=signencrypt Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= xsFNBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC OJVxq2kljBM9ETYuUGqd75AW2LXrLw6+MuIsHFAYAgRr7+KcwDgBAfwhPBYX34nSSiHlmLC+ KaHLeCLF5ZI2vKm3HEeCTtlOg7xZEONgwzL+fdKo+D6SoC8RRxJKs8a3sVfI4t6CnrQzvJbB n6gxdgCu5i29J1QCYrCYvql2UyFPAK+do99/1jOXT4m2836j1wARAQABzSBQYXVsIEVnZ2Vy dCA8ZWdnZXJ0QGNzLnVjbGEuZWR1PsLBfgQTAQIAKAUCTIByZAIbAwUJEswDAAYLCQgHAwIG FQgCCQoLBBYCAwECH In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235544 Archived-At: On 4/15/19 11:11 AM, Richard Stallman wrote: > I think that packages that needs GNU Make should have a simple > makefile for any old Make, which invokes GNU Make. That is so that > (./configure; make install) will work provided GNU Make is available > under some conventional name, even if it isn't called 'make'. > > Since Emacs already "assumes GNU Make", I wonder whether it does that. It does that in a different way. 'configure' searches for GNU Make and if it's not called 'make', 'configure' tells the user GNU Make's name as the very last thing it outputs in a message like "Now you can run 'gmake'." In practice this seems to have been good enough. I recall trying to do something fancier, along the lines you suggested, but having some portability issues and settling for the current approach. > I see that Emacs comes with a file GNUmakefile > and configuring creates Makefile. What is the job > of each of these files, and how do they relate to each other? The following comment in GNUmakefile is intended to explain that. If it's unclear please let me know. # This GNUmakefile is for GNU Make.=C2=A0 It is for convenience, so that # one can run 'make' in an unconfigured source tree.=C2=A0 In such a tree= , # this file causes GNU Make to first create a standard configuration # with the default options, and then reinvokes itself on the # newly-built Makefile.=C2=A0 If the source tree is already configured, # this file defers to the existing Makefile. # If you want non-default build options, or if you want to build in an # out-of-source tree, you should run 'configure' before running 'make'. # But run 'autogen.sh' first, if the source was checked out directly # from the repository.