diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-02-09 20:53:02 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-02-14 09:20:47 -0800 |
commit | eda7dbff5a9f35fefe1e3dedacb82daadbf5945e (patch) | |
tree | 8e5098db5b962d4172d1483ba31f85632519d5da /m4 | |
parent | 5da82f872daf25939a8fa04f1561b01f0315a623 (diff) |
XORG_TLS: Pick the first option that works (ie: prefer __thread)
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/xorg-tls.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/xorg-tls.m4 b/m4/xorg-tls.m4 index 237fdcd9e..e04f1ff56 100644 --- a/m4/xorg-tls.m4 +++ b/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) |