From 5320e9c9bf76bd3a9d9a26cf4ad8d447189f9dff Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 8 May 2016 21:04:49 +2100 Subject: [PATCH] [Patch v4 12/12] fixup! lib/cli: add library API / CLI for compile time options --- ce/60c95308f417ee6301db300c37bc6d758e7b17 | 77 +++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 ce/60c95308f417ee6301db300c37bc6d758e7b17 diff --git a/ce/60c95308f417ee6301db300c37bc6d758e7b17 b/ce/60c95308f417ee6301db300c37bc6d758e7b17 new file mode 100644 index 000000000..dee16e9d3 --- /dev/null +++ b/ce/60c95308f417ee6301db300c37bc6d758e7b17 @@ -0,0 +1,77 @@ +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 A57246DE0350 + for ; Sat, 7 May 2016 17:05:04 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.013 +X-Spam-Level: +X-Spam-Status: No, score=-0.013 tagged_above=-999 required=5 + tests=[AWL=-0.002, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] + 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 GU2ztam0buhd for ; + Sat, 7 May 2016 17:04:57 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id D03746DE0217 + for ; Sat, 7 May 2016 17:04:56 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1azCDK-00013e-GQ; Sat, 07 May 2016 20:04:50 -0400 +Received: (nullmailer pid 17205 invoked by uid 1000); + Sun, 08 May 2016 00:04:53 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [Patch v4 12/12] fixup! lib/cli: add library API / CLI for compile + time options +Date: Sat, 7 May 2016 21:04:49 -0300 +Message-Id: <1462665889-17121-13-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.8.1 +In-Reply-To: <1462665889-17121-1-git-send-email-david@tethera.net> +References: <1462665889-17121-1-git-send-email-david@tethera.net> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sun, 08 May 2016 00:05:04 -0000 + +--- + notmuch-config.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/notmuch-config.c b/notmuch-config.c +index e4f47e4..f8636d5 100644 +--- a/notmuch-config.c ++++ b/notmuch-config.c +@@ -903,7 +903,7 @@ notmuch_config_command_set (notmuch_config_t *config, char *item, int argc, char + + static + void +-_notmuch_config_list_options () { ++_notmuch_config_list_built_with () { + printf("%scompact=%s\n", + BUILT_WITH_PREFIX, + notmuch_built_with ("compact") ? "true" : "false"); +@@ -972,7 +972,7 @@ notmuch_config_command_list (notmuch_config_t *config) + + g_strfreev (groups); + +- _notmuch_config_list_options (); ++ _notmuch_config_list_built_with (); + return _list_db_config (config); + } + +-- +2.8.1 + -- 2.26.2