From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: About ./configure --cache-file (WAS: CHECK_STRUCTS/dmpstruct.h mechanism is broken.) Date: Sun, 14 Apr 2019 10:44:03 -0400 Message-ID: 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> <20190414094535.GA17803@ACM> <83d0lok7cc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="131760"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Alan Mackenzie , Paul Eggert , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 14 16:44:55 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 1hFgNK-000Y8d-Ir for ged-emacs-devel@m.gmane.org; Sun, 14 Apr 2019 16:44:54 +0200 Original-Received: from localhost ([127.0.0.1]:36446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFgNJ-0001I9-J3 for ged-emacs-devel@m.gmane.org; Sun, 14 Apr 2019 10:44:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFgMk-0001I4-Cf for emacs-devel@gnu.org; Sun, 14 Apr 2019 10:44:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFgMj-0007Gf-IW for emacs-devel@gnu.org; Sun, 14 Apr 2019 10:44:18 -0400 Original-Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:42138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFgMi-0007Fk-7D; Sun, 14 Apr 2019 10:44:16 -0400 Original-Received: by mail-oi1-x22a.google.com with SMTP id w139so11701934oie.9; Sun, 14 Apr 2019 07:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ry5kyY04hsQa73caSTkSxNJr1srAHJlw3R5KQ3qo6Mc=; b=mcEHo+cfRgwvn7kD+oTnHfiPpPZtu07YyVGO++sIQB1YkGIIlvpqFaxR6YcsXo+BrB p3h1Gm/5ziyx+6J/WkaVONW8Ac0T6UJxQN+3STxfjF5/cMf63/aoiU5hRpOk6e2WL3Tj OB+zXccuLi2KN+LjaKObuZAKErf0NNd1UEXjswjE/J+Y79HBqdhBhXa3ruJxejy3OzMd ALBGVCfh579195HUwgs/a6860rvJ6B90iJ68F3u9EvbHleYHFTZVqJT0g6YKdFP3moFZ 842HHmdWbTrXN+1Q+UcT29hTD3HnUtYGnf7tOi74eXXvn0NRR8Z16bEh/f4d2qVB+Ua8 OpIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ry5kyY04hsQa73caSTkSxNJr1srAHJlw3R5KQ3qo6Mc=; b=Lli4WLYgAw7aTqg951LGtBhHUW3ZqXiyLzZFVzHA9zUgxFGs/Mk9/4DKAmatL/AFBo piUWgu+gJ774GTeZkOm6ODGb8tkWCs12j1+CPTjs8s6ahvTeW+zUVUuKMaPVi8I2EpBd 6LiKp9k3c9Bn9gqGzzViDtKZiiBKGsOME7/lodLTEmdltUVIzlP6QfNdwdvzWiv3KMWe x2KtA9ctcRC39YPsf9QheIe+o4RPDFrR6h4WN6mAGeGtNbp0kaLDR5Dgzy+B8WZrKExt hQf7+10/qYSGWuug20GpXbVXXNXjzlc8kPTIRzRJh9vN+9YZ5b0Q/GlCHlEDEQgTgJVQ Butg== X-Gm-Message-State: APjAAAUKGPMeVluoAnVyecPERNOn0qRnmGy8gDq4dG9AtG6ftcEPITjO wQU7PZt+Nixi/5GLMiuRJizwycvOLgL7NzVFaWzbiB6g X-Google-Smtp-Source: APXvYqyT1vqSN4vObe6pCngjlFgKwCataLwgJsj5EBvklZER34GM27FbS2aFGJMUhAbhAk0gkZiZhcEDUy6GmBO8EvY= X-Received: by 2002:aca:bbc3:: with SMTP id l186mr17023900oif.23.1555253055131; Sun, 14 Apr 2019 07:44:15 -0700 (PDT) In-Reply-To: <83d0lok7cc.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::22a 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:235440 Archived-At: On Sun, 14 Apr 2019 at 10:08, Eli Zaretskii wrote: > I think you should try building with --with-gpm=no, and after than > without this switch, i.e. without an explicit --with-gpm. Works fine, I get Does Emacs use -lgpm? no the first time, and Does Emacs use -lgpm? yes the second time, as expected. Why wouldn't you expect that to work? > > So it seems that ./configure -C can cope with at least some flags being > > changed between runs. > > I think you are just being lucky: configure always recomputes > variables that are not cached yet. If you pass --with-gpm=no, it skips the test so there's nothing to cache anyway. As I mentioned earlier, so far I've found configuring with gtk the only problematic flag, because it affects some other test (the test for glib, if I recall correctly).