From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 393DB6DE0AF8 for ; Tue, 19 May 2015 12:08:58 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.585 X-Spam-Level: X-Spam-Status: No, score=-0.585 tagged_above=-999 required=5 tests=[AWL=0.235, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cTxyoxn0fKik for ; Tue, 19 May 2015 12:08:52 -0700 (PDT) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by arlo.cworth.org (Postfix) with ESMTPS id 14B6E6DE0A87 for ; Tue, 19 May 2015 12:08:52 -0700 (PDT) Received: by oiko83 with SMTP id o83so18875833oik.1 for ; Tue, 19 May 2015 12:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WCNUn87yqZ8/NuByz1btNMoXVo36+11XfdqM2EhCt00=; b=B08kaMIAKaI0QXxm4Hzkzo37kvb5CaGjlVO0N5fJtv4Jo58jatymQ5drC5Y66LXTkn swg9TzEfFu1kMhfBFHIf0r0s3xYFzeK02RXvDi1+RhmXQVfknUUVmUABCjRpNl2AF79M oimtyCKO0DD1V5/xEq/NAIC6AfZbOLL4DoyWT1CDBWvjexG3nYYy/7j6sk1wHZDqOHaq O5Z//UymJ83JMJJA+WNxAnSqpIwYt5TIWrpaVAnztR8MsHcpk2GbC3q0KHS6b0EO45qo KglNTHrEya/jUsJcQlWFi1iRNe6fapzfMPAvZOVPuCV6TNXl9gDNUPNf2yMrtAi5San5 3ong== MIME-Version: 1.0 X-Received: by 10.60.65.97 with SMTP id w1mr25193243oes.10.1432062531359; Tue, 19 May 2015 12:08:51 -0700 (PDT) Received: by 10.202.201.130 with HTTP; Tue, 19 May 2015 12:08:51 -0700 (PDT) In-Reply-To: <87y4kkfl38.fsf@maritornes.cs.unb.ca> References: <87y4kkfl38.fsf@maritornes.cs.unb.ca> Date: Tue, 19 May 2015 21:08:51 +0200 Message-ID: Subject: Re: configure tool From: Ronny Chevalier To: David Bremner Content-Type: text/plain; charset=UTF-8 Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 19:08:58 -0000 On Tue, May 19, 2015 at 9:01 PM, David Bremner wrote: > Ronny Chevalier writes: > >> Hi, >> >> I'm curious about the reason behind choosing to do your own configure >> tool instead of using tools like autotools or cmake? > > I guess the most relevant discussion is not that recent: > > http://mid.gmane.org/1258897630-22282-1-git-send-email-jeff@ocjtech.us > > and to a lesser extent the discussion starting atL > > http://article.gmane.org/gmane.mail.notmuch.general/635 > Ok thanks I will look into it. >> For example, I noticed that the part that check if the compiler >> options are supported, is not working. Try adding a flag supported by >> gcc but not by clang and use clang to compile or vice-versa. > > Sure, of course there can be bugs, just as in any configuration system. > Can you give a more specific recipe to reproduce it? Yeah I forgot to provide an example sorry. -Wdouble-promotion for example is available on gcc but not clang and it is still added to the command line when using clang. I think this is because clang does not return an error code, but just prints a warning. > > Thanks, > > d