Fix configure for Sun shell.

This commit is contained in:
Mark Adler 2013-03-23 13:50:10 -07:00
parent b06dee4369
commit 66fcefbb2f

4
configure vendored
View File

@ -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