Fixed broken configure check for __thread support
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Sat, 30 Oct 2010 12:51:30 +0000 (15:51 +0300)
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>
Mon, 1 Nov 2010 23:36:37 +0000 (01:36 +0200)
Somehow the patch from [1] was not applied correctly, fixing that.

1. http://lists.cairographics.org/archives/cairo/2010-September/020826.html

configure.ac

index b80cc5f..8193898 100644 (file)
@@ -652,10 +652,9 @@ support_for__thread=no
 
 AC_MSG_CHECKING(for __thread)
 AC_LINK_IFELSE([
-#ifdef defined __MINGW32__ && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
+#if defined(__MINGW32__) && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
 #error This MinGW version has broken __thread support
 #endif
-#endif
 #ifdef __OpenBSD__
 #error OpenBSD has broken __thread support
 #endif