@@ -18,9 +18,6 @@ AS_IF([test "x$enable_builtin_atomics" != xno],
18
18
AC_CACHE_CHECK ( [ whether compiler supports builtin atomic CAS-32] ,
19
19
[ qthread_cv_atomic_CAS32] ,
20
20
[ AC_LINK_IFELSE ( [ AC_LANG_SOURCE ( [ [
21
- #if HAVE_IA32INTRIN_H
22
- # include <ia32intrin.h>
23
- #endif
24
21
#include <stdlib.h>
25
22
#include <stdint.h> /* for uint32_t */
26
23
@@ -35,9 +32,6 @@ return (int)foo;
35
32
AC_CACHE_CHECK ( [ whether compiler supports builtin atomic CAS-64] ,
36
33
[ qthread_cv_atomic_CAS64] ,
37
34
[ AC_LINK_IFELSE ( [ AC_LANG_SOURCE ( [ [
38
- #if HAVE_IA32INTRIN_H
39
- # include <ia32intrin.h>
40
- #endif
41
35
#include <stdlib.h>
42
36
#include <stdint.h> /* for uint64_t */
43
37
@@ -52,9 +46,6 @@ return foo;
52
46
AC_CACHE_CHECK ( [ whether compiler supports builtin atomic CAS-ptr] ,
53
47
[ qthread_cv_atomic_CASptr] ,
54
48
[ AC_LINK_IFELSE ( [ AC_LANG_SOURCE ( [ [
55
- #if HAVE_IA32INTRIN_H
56
- # include <ia32intrin.h>
57
- #endif
58
49
#include <stdlib.h>
59
50
60
51
int main(void)
@@ -121,9 +112,6 @@ AC_CACHE_CHECK([whether compiler supports builtin atomic incr],
121
112
[ qthread_cv_atomic_incr] ,
122
113
[ AS_IF ( [ test "$1 " -eq 8] ,
123
114
[ AC_LINK_IFELSE ( [ AC_LANG_SOURCE ( [ [
124
- #if HAVE_IA32INTRIN_H
125
- # include <ia32intrin.h>
126
- #endif
127
115
#include <stdlib.h>
128
116
#include <stdint.h> /* for uint64_t */
129
117
@@ -136,9 +124,6 @@ return foo;
136
124
[ qthread_cv_atomic_incr="yes"] ,
137
125
[ qthread_cv_atomic_incr="no"] ) ] ,
138
126
[ AC_LINK_IFELSE ( [ AC_LANG_SOURCE ( [ [
139
- #if HAVE_IA32INTRIN_H
140
- # include <ia32intrin.h>
141
- #endif
142
127
#include <stdlib.h>
143
128
#include <stdint.h> /* for uint32_t */
144
129
@@ -156,9 +141,6 @@ AS_IF([test "$qthread_cv_atomic_incr" = "yes"],
156
141
[ qt_cv_atomic_incr_works] ,
157
142
[ AS_IF ( [ test "$1 " -eq 8] ,
158
143
[ AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
159
- #if HAVE_IA32INTRIN_H
160
- # include <ia32intrin.h>
161
- #endif
162
144
#include <stdlib.h>
163
145
#include <stdint.h> /* for uint64_t */
164
146
@@ -189,9 +171,6 @@ return 0;
189
171
[ qt_cv_atomic_incr_works="no"] ,
190
172
[ qt_cv_atomic_incr_works="assuming yes"] ) ] ,
191
173
[ AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
192
- #if HAVE_IA32INTRIN_H
193
- # include <ia32intrin.h>
194
- #endif
195
174
#include <stdlib.h>
196
175
#include <stdint.h> /* for uint32_t */
197
176
0 commit comments