Fix configure for Sun shell.
This commit is contained in:
parent
b06dee4369
commit
66fcefbb2f
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user