Fix version detection on gcc 3.3.

svn:r10213
This commit is contained in:
Nick Mathewson 2007-05-18 21:30:23 +00:00
parent 7a61357250
commit f8a2d4dd83

View File

@ -616,7 +616,7 @@ if test x$enable_gcc_warnings = xyes; then
#endif]), have_gcc4=yes, have_gcc4=no) #endif]), have_gcc4=yes, have_gcc4=no)
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([], [ AC_COMPILE_IFELSE(AC_LANG_PROGRAM([], [
#if !defined(__GNUC__) || (__GNUC_MINOR__ < 2) #if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 2)
#error #error
#endif]), have_gcc42=yes, have_gcc42=no) #endif]), have_gcc42=yes, have_gcc42=no)