aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-18 21:30:23 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-18 21:30:23 +0000
commitf8a2d4dd83f5b2d2d61fe2ccb034393c1e4cbd20 (patch)
treec24cf2eb3930ead5872570dd13cfd8a653bf9b79 /configure.in
parent7a61357250fa706e06d9e19c47546fa884ccbefd (diff)
downloadtor-f8a2d4dd83f5b2d2d61fe2ccb034393c1e4cbd20.tar
tor-f8a2d4dd83f5b2d2d61fe2ccb034393c1e4cbd20.tar.gz
Fix version detection on gcc 3.3.
svn:r10213
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 6e7f79f46..1df038c96 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)