configure: SC2034: glib_cflags and glib_ldflags appear unused.
authorJani Nikula <jani@nikula.org>
Wed, 13 Apr 2016 18:32:48 +0000 (21:32 +0300)
committerDavid Bremner <david@tethera.net>
Mon, 2 May 2016 00:21:39 +0000 (21:21 -0300)
Fix shellcheck warnings.

configure

index d4f56b905cce45014dca8a27b746f3afac24c5b9..f3498e3ef2448427430e782845ee69375d936ee6 100755 (executable)
--- 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))