]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix warnings in configure
authorMika Lindqvist <postmaster@raasu.org>
Tue, 25 May 2021 16:55:27 +0000 (19:55 +0300)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 27 May 2021 10:40:20 +0000 (12:40 +0200)
* Don't assign contents of variable to itself
* Quote strings containing "="

configure

index fd02a6fea0df232206df9cdf5de385be8c7df700..4e6645dc521b3bd5677e6dc5901e102ee433b841 100755 (executable)
--- 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
 }