From 272539ed98ca0412ddaf44428debe38fa1e91098 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 13 Apr 2016 21:32:48 +0300 Subject: [PATCH] [PATCH 3/4] configure: SC2034: glib_cflags and glib_ldflags appear unused. --- ba/d20d8df75f143fc48fa619b2857d7a93eecb8e | 109 ++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 ba/d20d8df75f143fc48fa619b2857d7a93eecb8e diff --git a/ba/d20d8df75f143fc48fa619b2857d7a93eecb8e b/ba/d20d8df75f143fc48fa619b2857d7a93eecb8e new file mode 100644 index 000000000..353443750 --- /dev/null +++ b/ba/d20d8df75f143fc48fa619b2857d7a93eecb8e @@ -0,0 +1,109 @@ +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 AA9506DE0159 + for ; Wed, 13 Apr 2016 11:34:25 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" +X-Spam-Flag: NO +X-Spam-Score: -0.563 +X-Spam-Level: +X-Spam-Status: No, score=-0.563 tagged_above=-999 required=5 tests=[AWL=0.157, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 QraiUXc-hdLi for ; + Wed, 13 Apr 2016 11:34:18 -0700 (PDT) +Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com + [74.125.82.67]) by arlo.cworth.org (Postfix) with ESMTPS id AAA046DE01C2 for + ; Wed, 13 Apr 2016 11:34:09 -0700 (PDT) +Received: by mail-wm0-f67.google.com with SMTP id a140so16473562wma.2 + for ; Wed, 13 Apr 2016 11:34:09 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=nikula-org.20150623.gappssmtp.com; s=20150623; + h=from:to:cc:subject:date:message-id:in-reply-to:references + :in-reply-to:references; + bh=M6wQ89bA9eX24YCL96RrQcmJ6UCoVreKV9e8DGBXuM8=; + b=uE8MNYGJnTjW9RgxQPO9YQ6LRNYectkdUBRkErm6zamAqI2/p/YBawCjxcI/cEkLr5 + RPCvoI0TNDHB6EcpbJD34LXCHkv8LxsyitfGRL62KYlzHFLR3FI4/hqoD8piItd74BvC + 9cYBYN6QyMpv38xv5XJjhhl8XkyPvMxT5LDluklqZxdTVIb/ZKplZnVeixTDbdFxeOPZ + lpwLYbJL58KA8xxZmJ1lEeRwe4nq+hWcdo9wu+gWcU9agU8byP5CM64e+5dC8F5VgpTW + xHV87CFpG/AkGnjy6idt3yZFDsC9KPgE+GZNkwNs61Xbq2dASFNgwza92HqRylmWb/xe + /oDA== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to + :references:in-reply-to:references; + bh=M6wQ89bA9eX24YCL96RrQcmJ6UCoVreKV9e8DGBXuM8=; + b=GV21cf7dbw4hXD8HaPF/JRPZUkbjOcBtliXJ3Qd+RBDM0WwGepyHM9t6yQVC3ANY2r + f0+PCf+Uq5mTQK3s4vy2FfeeugY6GEHW+VIWSXEXofaPEalt3G19LRYh8nmhfqCFoL0q + r035BZXi3mEdA0VOigAyRaxt7ODDDNUAhHarQ99/cXGpjr/efnPsKO/pGnKMm6GepRn0 + iX5B9C1pooLmjLetHjp6iIy3+8wxC7tRIEpn06+u/vYpq+jQv1xi/BO6PGnuztjmOWtE + UDuC2T6sQdWaVpnBqlIuz5GEQgUuWNkE8YFyUFB2AoZ0MoIY6Et+CB5nfsi1TF0IqtJd + s4RA== +X-Gm-Message-State: + AOPr4FWkQLXaBjWMMOewn0dymp+Klp91Vt1e2Q5k1JIxqFcZp3n7fVWrRpwghhkmZ98Vfw== +X-Received: by 10.194.24.65 with SMTP id s1mr11215608wjf.137.1460572448419; + Wed, 13 Apr 2016 11:34:08 -0700 (PDT) +Received: from localhost (mobile-access-bcee7f-102.dhcp.inet.fi. + [188.238.127.102]) + by smtp.gmail.com with ESMTPSA id fu9sm28551617wjb.44.2016.04.13.11.34.07 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 13 Apr 2016 11:34:07 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH 3/4] configure: SC2034: glib_cflags and glib_ldflags appear + unused. +Date: Wed, 13 Apr 2016 21:32:48 +0300 +Message-Id: + <217817718f4a08799c61b0b2cd8623b3e85949da.1460572142.git.jani@nikula.org> +X-Mailer: git-send-email 2.1.4 +In-Reply-To: +References: +In-Reply-To: +References: +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: Wed, 13 Apr 2016 18:34:25 -0000 + +Fix shellcheck warnings. + +--- + +The alternative would be to actually set and and use the results, but +it's a bit redundant as it's all in the gime flags anyway. +--- + configure | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index d4f56b905cce..f3498e3ef244 100755 +--- a/configure ++++ b/configure +@@ -413,8 +413,9 @@ have_glib=0 + if pkg-config --exists 'glib-2.0 >= 2.22'; then + printf "Yes.\n" + have_glib=1 +- glib_cflags=$(pkg-config --cflags glib-2.0) +- glib_ldflags=$(pkg-config --libs glib-2.0) ++ # these are included in gmime cflags and ldflags ++ # glib_cflags=$(pkg-config --cflags glib-2.0) ++ # glib_ldflags=$(pkg-config --libs glib-2.0) + else + printf "No.\n" + errors=$((errors + 1)) +-- +2.1.4 + -- 2.26.2