From: Mark Adler Date: Sat, 23 Mar 2013 20:50:10 +0000 (-0700) Subject: Fix configure for Sun shell. X-Git-Tag: v1.2.7.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66fcefbb2fb867f3f941b71140532de8593f29d6;p=thirdparty%2Fzlib-ng.git Fix configure for Sun shell. --- diff --git a/configure b/configure index bc39fd74f..bb5b1b8a2 100755 --- a/configure +++ b/configure @@ -365,7 +365,9 @@ cat > $test.c << EOF int foo() { return 0; } EOF echo "Checking for obsessive-compulsive compiler options..." >> configure.log -if ! try $CC -c $CFLAGS $test.c; then +if try $CC -c $CFLAGS $test.c; then + : +else echo "Compiler error reporting is too harsh for $0 (perhaps remove -Werror)." | tee -a configure.log leave 1 fi