From f8a2d4dd83f5b2d2d61fe2ccb034393c1e4cbd20 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 18 May 2007 21:30:23 +0000 Subject: [PATCH] Fix version detection on gcc 3.3. svn:r10213 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 6e7f79f46f..1df038c96c 100644 --- a/configure.in +++ b/configure.in @@ -616,7 +616,7 @@ if test x$enable_gcc_warnings = xyes; then #endif]), have_gcc4=yes, have_gcc4=no) AC_COMPILE_IFELSE(AC_LANG_PROGRAM([], [ -#if !defined(__GNUC__) || (__GNUC_MINOR__ < 2) +#if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 2) #error #endif]), have_gcc42=yes, have_gcc42=no)