diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2024-01-20 18:29:31 -0800 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2024-01-20 18:29:31 -0800 |
| commit | 88ec24670e9c484219392def5f2f4b5e3f839db3 (patch) | |
| tree | 08591ad4e221a94dc8d44eebf6d54a18245229b3 | |
| parent | 9404df5a1f35866d441e8033b34186ca42962ea9 (diff) | |
| download | zlib-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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -442,7 +442,7 @@ EOF | |||
| 442 | if test $shared -eq 1; then | 442 | if 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 |
