summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2021-05-25 19:55:27 +0300
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-05-27 12:40:20 +0200
commit07fa17104a4e19a496b38c816270097ede84445b (patch)
tree230736ca63c827f98085799f3accc974d16bcb7a
parent414ec0f00d85394849d0ce26c799faf094e2b6fb (diff)
Fix warnings in configure
* Don't assign contents of variable to itself * Quote strings containing "="
-rwxr-xr-xconfigure6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure b/configure
index fd02a6f..4e6645d 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
}