[PATCH 3/4] configure: SC2034: glib_cflags and glib_ldflags appear unused.

Jani Nikula jani at nikula.org
Wed Apr 13 11:32:48 PDT 2016


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



More information about the notmuch mailing list