]>
Commit | Line | Data |
---|---|---|
93bf5390 RH |
1 | # -*- shell-script -*- |
2 | # Copyright (C) 2012 Free Software Foundation, Inc. | |
3 | ||
4 | # This program is free software; you can redistribute it and/or modify | |
5 | # it under the terms of the GNU General Public License as published by | |
6 | # the Free Software Foundation; either version 2 of the License, or | |
7 | # (at your option) any later version. | |
8 | # | |
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. | |
13 | # | |
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not see <http://www.gnu.org/licenses/>. | |
16 | ||
17 | # This is the target specific configuration file. This is invoked by the | |
18 | # autoconf generated configure script. Putting it in a separate shell file | |
19 | # lets us skip running autoconf when modifying target specific information. | |
20 | ||
21 | # Filter out unsupported systems. | |
22 | case "${target}" in | |
64548f3b JJ |
23 | x86_64-*-linux* | i?86-*-linux*) |
24 | if test x$ac_cv_sizeof_void_p = x8; then | |
25 | TSAN_SUPPORTED=yes | |
9065ada9 | 26 | LSAN_SUPPORTED=yes |
64548f3b JJ |
27 | fi |
28 | ;; | |
a42a7046 BS |
29 | powerpc*le-*-linux*) |
30 | UNSUPPORTED=1 | |
31 | ;; | |
957fee09 PB |
32 | powerpc*-*-linux*) |
33 | ;; | |
64548f3b | 34 | sparc*-*-linux*) |
93bf5390 | 35 | ;; |
8a5800b8 CL |
36 | arm*-*-linux*) |
37 | ;; | |
34dc17ed | 38 | x86_64-*-darwin[1]* | i?86-*-darwin[1]*) |
f246eadc JH |
39 | TSAN_SUPPORTED=no |
40 | ;; | |
93bf5390 RH |
41 | *) |
42 | UNSUPPORTED=1 | |
43 | ;; | |
44 | esac |