[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10213: Fix version detection on gcc 3.3. (tor/trunk)
Author: nickm
Date: 2007-05-18 17:30:23 -0400 (Fri, 18 May 2007)
New Revision: 10213
Modified:
tor/trunk/configure.in
Log:
Fix version detection on gcc 3.3.
Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in 2007-05-18 21:24:37 UTC (rev 10212)
+++ tor/trunk/configure.in 2007-05-18 21:30:23 UTC (rev 10213)
@@ -616,7 +616,7 @@
#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)