Mercurial > noffle
comparison configure @ 56:688bd51704e0 noffle
[svn] * configure, configure.in: Only add all those compiler-switches
like -ansi, -pedantic etc. if we use gcc. Other c-compilers are unlikely
to have those switches.
author | uh1763 |
---|---|
date | Fri, 12 May 2000 09:20:00 +0100 |
parents | 48b7f28c3189 |
children | ce8191c38f44 |
comparison
equal
deleted
inserted
replaced
55:3b3750063786 | 56:688bd51704e0 |
---|---|
2534 else | 2534 else |
2535 enable_debug=yes | 2535 enable_debug=yes |
2536 fi | 2536 fi |
2537 | 2537 |
2538 | 2538 |
2539 if test "x$enable_debug" = "xyes" | 2539 if test "x$enable_debug" = "xyes" && test "x$GCC" = "xyes" |
2540 then | 2540 then |
2541 CFLAGS="$CFLAGS \ | 2541 CFLAGS="$CFLAGS \ |
2542 -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \ | 2542 -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \ |
2543 -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion \ | 2543 -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion \ |
2544 -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \ | 2544 -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \ |