# HG changeset patch
# User uh1763
# Date 958119600 -3600
# Node ID 688bd51704e0d889f5edb8a5193b5d8f2b350e38
# Parent  3b3750063786e3480df74833fc8d2e6212563670
[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.

diff -r 3b3750063786 -r 688bd51704e0 ChangeLog
--- 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,
diff -r 3b3750063786 -r 688bd51704e0 configure
--- 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 \
diff -r 3b3750063786 -r 688bd51704e0 configure.in
--- 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 \