summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2024-01-20 18:29:31 -0800
committerMark Adler <madler@alumni.caltech.edu>2024-01-20 18:29:31 -0800
commit88ec24670e9c484219392def5f2f4b5e3f839db3 (patch)
tree08591ad4e221a94dc8d44eebf6d54a18245229b3
parent9404df5a1f35866d441e8033b34186ca42962ea9 (diff)
downloadzlib-88ec24670e9c484219392def5f2f4b5e3f839db3.tar.gz
zlib-88ec24670e9c484219392def5f2f4b5e3f839db3.tar.bz2
zlib-88ec24670e9c484219392def5f2f4b5e3f839db3.zip
Remove -w compile option in configure test.
Not all C compilers have a -w option.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0b86d04..c55098a 100755
--- a/configure
+++ b/configure
@@ -442,7 +442,7 @@ EOF
442if test $shared -eq 1; then 442if test $shared -eq 1; then
443 echo Checking for shared library support... | tee -a configure.log 443 echo Checking for shared library support... | tee -a configure.log
444 # we must test in two steps (cc then ld), required at least on SunOS 4.x 444 # we must test in two steps (cc then ld), required at least on SunOS 4.x
445 if try $CC -w -c $SFLAGS $test.c && 445 if try $CC -c $SFLAGS $test.c &&
446 try $LDSHARED $SFLAGS -o $test$shared_ext $test.o; then 446 try $LDSHARED $SFLAGS -o $test$shared_ext $test.o; then
447 echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log 447 echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log
448 elif test -z "$old_cc" -a -z "$old_cflags"; then 448 elif test -z "$old_cc" -a -z "$old_cflags"; then