Skip to content

Commit 66fcefb

Browse files
committed
Fix configure for Sun shell.
1 parent b06dee4 commit 66fcefb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,9 @@ cat > $test.c << EOF
365365
int foo() { return 0; }
366366
EOF
367367
echo "Checking for obsessive-compulsive compiler options..." >> configure.log
368-
if ! try $CC -c $CFLAGS $test.c; then
368+
if try $CC -c $CFLAGS $test.c; then
369+
:
370+
else
369371
echo "Compiler error reporting is too harsh for $0 (perhaps remove -Werror)." | tee -a configure.log
370372
leave 1
371373
fi

0 commit comments

Comments
 (0)