From c7b494a0afa0905c7d467baac8459f99bdd92e2c Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Tue, 19 May 2015 20:31:29 +0200 Subject: [PATCH] configure tool --- f9/7de640dfdfbc0a9c5c44069dcd1485c95cca24 | 75 +++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 f9/7de640dfdfbc0a9c5c44069dcd1485c95cca24 diff --git a/f9/7de640dfdfbc0a9c5c44069dcd1485c95cca24 b/f9/7de640dfdfbc0a9c5c44069dcd1485c95cca24 new file mode 100644 index 000000000..b2edcdbec --- /dev/null +++ b/f9/7de640dfdfbc0a9c5c44069dcd1485c95cca24 @@ -0,0 +1,75 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id CA2F36DE0A87 + for ; Tue, 19 May 2015 11:31:34 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.536 +X-Spam-Level: +X-Spam-Status: No, score=-0.536 tagged_above=-999 required=5 tests=[AWL=0.265, + 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_H2=-0.001, 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 e1lvP8ZAlT7f for ; + Tue, 19 May 2015 11:31:33 -0700 (PDT) +Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com + [209.85.214.176]) + by arlo.cworth.org (Postfix) with ESMTPS id D52856DE021D + for ; Tue, 19 May 2015 11:31:32 -0700 (PDT) +Received: by obbkp3 with SMTP id kp3so19125689obb.3 + for ; Tue, 19 May 2015 11:31:30 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:date:message-id:subject:from:to:content-type; + bh=8QgmI0XqFPfUYDydTUKj2PI2b2LAAGcLK6FBuUBSr9Y=; + b=dW30K2XdInEEOZGJnCiQ0WDrjIVZbM3x1sJFXvZ14diAtifdlrVuVaDdXJkgR/u9+o + axqbtxNISway8kM1LWIvkCia08nMI7LUCFLotMHegPboHmSnk1abTAp7YEJnRoJ5xkxM + pzVDbmkV0CGbYzFKSJtH10R8VBlLmLbm57fICW47d16ZgqGFvKj/4LJdhthNh5H9q6KT + yrTfRbAihnWkKQ0B7OgJN2Jy3McdXveOLafdEy+uVpfdqxnYFWQEGHtLVglOMWNCN7rs + Zl1Uobuv1SBpMjiOEnfpgtw1numgm+eFoxPRyWFIm4vGOoEHk3L1/riZx5b7hfr4zox6 + 3gag== +MIME-Version: 1.0 +X-Received: by 10.182.240.135 with SMTP id wa7mr25479735obc.63.1432060289795; + Tue, 19 May 2015 11:31:29 -0700 (PDT) +Received: by 10.202.201.130 with HTTP; Tue, 19 May 2015 11:31:29 -0700 (PDT) +Date: Tue, 19 May 2015 20:31:29 +0200 +Message-ID: + +Subject: configure tool +From: Ronny Chevalier +To: notmuch@notmuchmail.org +Content-Type: text/plain; charset=UTF-8 +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 18:31:34 -0000 + +Hi, + +I'm curious about the reason behind choosing to do your own configure +tool instead of using tools like autotools or cmake? + +Because for me it increases the chance to introduce bugs in the build +system since you are redeveloping tests to know whether a library is +present or not, the system to check if a flag is supported by the +compiler, to check if a function is present, to manage different +platforms,... All of these things are provided by tools like autotools +or cmake. + +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. + +Thanks -- 2.26.2