From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: About ./configure --cache-file (WAS: CHECK_STRUCTS/dmpstruct.h mechanism is broken.) Date: Sun, 14 Apr 2019 09:45:35 +0000 Message-ID: <20190414094535.GA17803@ACM> References: <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> <20190412133727.GC4588@ACM> <20190413140646.GE13636@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="196369"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Eli Zaretskii , Noam Postavsky , Emacs developers To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 14 11:59:01 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 1hFbuf-000oyi-1u for ged-emacs-devel@m.gmane.org; Sun, 14 Apr 2019 11:59:01 +0200 Original-Received: from localhost ([127.0.0.1]:33569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFbue-0002Ci-22 for ged-emacs-devel@m.gmane.org; Sun, 14 Apr 2019 05:59:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFbts-0001er-Fd for emacs-devel@gnu.org; Sun, 14 Apr 2019 05:58:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFbhl-0002sZ-Cw for emacs-devel@gnu.org; Sun, 14 Apr 2019 05:45:45 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:63478 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1hFbhk-0002qY-Vn for emacs-devel@gnu.org; Sun, 14 Apr 2019 05:45:41 -0400 Original-Received: (qmail 52459 invoked by uid 3782); 14 Apr 2019 09:45:38 -0000 Original-Received: from acm.muc.de (p2E5D5728.dip0.t-ipconnect.de [46.93.87.40]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 14 Apr 2019 11:45:35 +0200 Original-Received: (qmail 17831 invoked by uid 1000); 14 Apr 2019 09:45:35 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 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:235431 Archived-At: Hello, Paul. On Sat, Apr 13, 2019 at 19:44:50 -0700, Paul Eggert wrote: > Noam Postavsky wrote: > > The cache is not invalidated automatically, so you need to delete it > > after upgrading devel libraries or compiler. > ... or if you configure with different flags, or if you edit > configure.ac or if you do a bunch of other things. For the kind of > work I do, the cache is way more trouble than it's worth. Are you sure? I just tried it out. My first run, ./configure -C --with-gif=no --with-tiff=no --with-gpm=no , took ~2.3 seconds. I built Emacs, and GPM was indeed not built in. Then I did ./configure -C --with-gif=no --with-tiff=no --with-gpm , which again took ~2.3s, built Emacs, and GPM was then present and working. So it seems that ./configure -C can cope with at least some flags being changed between runs. Which are these "different flags" which don't work when you change them whilst using the -C cache? -- Alan Mackenzie (Nuremberg, Germany).