From 66fcefbb2fb867f3f941b71140532de8593f29d6 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 23 Mar 2013 13:50:10 -0700 Subject: [PATCH] Fix configure for Sun shell. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index bc39fd7..bb5b1b8 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