projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: fix incorrect counter
[userspace-rcu.git]
/
config
/
ax_tls.m4
diff --git
a/config/ax_tls.m4
b/config/ax_tls.m4
index 5ab1a413d1414792e6b0098b7c13a42d56d9bdee..7c86daf147cdc8f068161f2dc128bbfd7ef2ebc2 100644
(file)
--- a/
config/ax_tls.m4
+++ b/
config/ax_tls.m4
@@
-69,16
+69,11
@@
AC_DEFUN([AX_TLS], [
for ax_tls_keyword in $ax_tls_keywords; do
AS_CASE([$ax_tls_keyword],
[none], [ac_cv_tls=none ; break],
for ax_tls_keyword in $ax_tls_keywords; do
AS_CASE([$ax_tls_keyword],
[none], [ac_cv_tls=none ; break],
- [AC_TRY_COMPILE(
- [#include <stdlib.h>
- static void
- foo(void) {
- static ] $ax_tls_keyword [ int bar;
- exit(1);
- }],
- [],
+ [AC_TRY_LINK(
+ [$ax_tls_keyword int foo;],
+ [++foo;],
[ac_cv_tls=$ax_tls_keyword ; break],
[ac_cv_tls=$ax_tls_keyword ; break],
- ac_cv_tls=none
+ [ac_cv_tls=none]
)])
done
])
)])
done
])
This page took
0.023562 seconds
and
4
git commands to generate.