From: Mika Lindqvist Date: Tue, 25 May 2021 16:55:27 +0000 (+0300) Subject: Fix warnings in configure X-Git-Tag: 2.0.4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07fa17104a4e19a496b38c816270097ede84445b;p=thirdparty%2Fzlib-ng.git Fix warnings in configure * Don't assign contents of variable to itself * Quote strings containing "=" --- diff --git a/configure b/configure index fd02a6fea..4e6645dc5 100755 --- a/configure +++ b/configure @@ -70,8 +70,6 @@ fi # set defaults before processing command line options LDCONFIG=${LDCONFIG-"ldconfig"} -LDFLAGS=${LDFLAGS} -LDSHAREDLIBC="${LDSHAREDLIBC}" DEFFILE= RC= RCFLAGS= @@ -209,9 +207,9 @@ show() { case "$*" in *$test.c*) - echo === $test.c === >> configure.log + echo "=== $test.c ===" >> configure.log cat $test.c >> configure.log - echo === >> configure.log;; + echo "===" >> configure.log;; esac echo $* >> configure.log }