From 3ea038af68a296e8aaef752a2a27400786c87738 Mon Sep 17 00:00:00 2001 From: Bill Currie <bill@taniwha.org> Date: Sat, 13 Jan 2001 05:28:00 +0000 Subject: [PATCH] test for the evil spawn of satan (gcc 2.96) and try to cope --- configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.in b/configure.in index 50ffabb..b585d97 100644 --- a/configure.in +++ b/configure.in @@ -37,6 +37,16 @@ AC_PROG_RANLIB AC_PROG_INSTALL AC_PROG_LN_S +set $CC +if test "$1" = gcc; then + AC_MSG_CHECKING(for fubared gcc) + if test `gcc --version` = 2.96; then + AC_MSG_RESULT(yes. you poor sod. Hope you have egcs) + CC=egcs + else + AC_MSG_RESULT(no. good) + fi +fi dnl ================================================================== dnl Checks for system services