summaryrefslogtreecommitdiff
path: root/xserver/m4/xorg-tls.m4
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/m4/xorg-tls.m4')
-rw-r--r--xserver/m4/xorg-tls.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/m4/xorg-tls.m4 b/xserver/m4/xorg-tls.m4
index 237fdcd9e..e04f1ff56 100644
--- a/xserver/m4/xorg-tls.m4
+++ b/xserver/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)