Mercurial > noffle
changeset 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 | 3b3750063786 |
children | 84e32c84666b |
files | ChangeLog configure configure.in |
diffstat | 3 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue May 09 23:32:33 2000 +0100 +++ b/ChangeLog Fri May 12 09:20:00 2000 +0100 @@ -2,6 +2,14 @@ NOFFLE ChangeLog ------------------------------------------------------------------------------- + +Fri May 12 10:19:56 CEST 2000 Uwe Hermann <uh1763@bingo-ev.de> + + * 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. + + Wed May 10 00:25:44 CEST 2000 Uwe Hermann <uh1763@bingo-ev.de> * src/client.c, src/configfile.c, src/content.c, src/control.c,
--- a/configure Tue May 09 23:32:33 2000 +0100 +++ b/configure Fri May 12 09:20:00 2000 +0100 @@ -2536,7 +2536,7 @@ fi -if test "x$enable_debug" = "xyes" +if test "x$enable_debug" = "xyes" && test "x$GCC" = "xyes" then CFLAGS="$CFLAGS \ -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \
--- a/configure.in Tue May 09 23:32:33 2000 +0100 +++ b/configure.in Fri May 12 09:20:00 2000 +0100 @@ -132,7 +132,7 @@ --enable-debug turn on debugging (default=yes)], , enable_debug=yes) -if test "x$enable_debug" = "xyes" +if test "x$enable_debug" = "xyes" && test "x$GCC" = "xyes" then CFLAGS="$CFLAGS \ -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \