diff options
| -rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -476,6 +476,13 @@ tryboth() | |||
| 476 | cat > $test.c << EOF | 476 | cat > $test.c << EOF |
| 477 | int foo() { return 0; } | 477 | int foo() { return 0; } |
| 478 | EOF | 478 | EOF |
| 479 | echo "Checking for compiler..." >> configure.log | ||
| 480 | if try $CC -c $test.c; then | ||
| 481 | : | ||
| 482 | else | ||
| 483 | echo "Missing or broken C compiler." | tee -a configure.log | ||
| 484 | leave 1 | ||
| 485 | fi | ||
| 479 | echo "Checking for obsessive-compulsive compiler options..." >> configure.log | 486 | echo "Checking for obsessive-compulsive compiler options..." >> configure.log |
| 480 | if try $CC -c $CFLAGS $test.c; then | 487 | if try $CC -c $CFLAGS $test.c; then |
| 481 | : | 488 | : |
