aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/m4/xorg-tls.m4
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/m4/xorg-tls.m4')
-rw-r--r--xorg-server/m4/xorg-tls.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/m4/xorg-tls.m4 b/xorg-server/m4/xorg-tls.m4
index 237fdcd9e..e04f1ff56 100644
--- a/xorg-server/m4/xorg-tls.m4
+++ b/xorg-server/m4/xorg-tls.m4
@@ -28,7 +28,7 @@ AC_DEFUN([XORG_TLS], [
ac_cv_tls=none
keywords="__thread __declspec(thread)"
for kw in $keywords ; do
- AC_TRY_COMPILE([int $kw test;], [], ac_cv_tls=$kw)
+ AC_TRY_COMPILE([int $kw test;], [], ac_cv_tls=$kw ; break ;)
done
])
AC_MSG_RESULT($ac_cv_tls)