diff options
author | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-13 20:35:20 +0000 |
---|---|---|
committer | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-13 20:35:20 +0000 |
commit | 67ba07534d36cb965f3e4d778b20b1a528bd42bf (patch) | |
tree | b2bf509da6cdeb68219bd470f074906b26fc5f87 /libmudflap/configure | |
parent | cd21f4e0552326a8231e9d118e6803028b574f04 (diff) | |
download | ppe42-gcc-67ba07534d36cb965f3e4d778b20b1a528bd42bf.tar.gz ppe42-gcc-67ba07534d36cb965f3e4d778b20b1a528bd42bf.zip |
* tls.m4 (GCC_CHECK_TLS): Fall back to a link test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/configure')
-rwxr-xr-x | libmudflap/configure | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libmudflap/configure b/libmudflap/configure index 7f7dd06e320..2e7f260b902 100755 --- a/libmudflap/configure +++ b/libmudflap/configure @@ -7134,11 +7134,11 @@ else if test "$cross_compiling" = yes; then cat >conftest.$ac_ext <<_ACEOF -__thread int foo; +__thread int a; int b; int main() { return a = b; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 @@ -7152,7 +7152,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7165,7 +7165,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 have_tls=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext else cat >conftest.$ac_ext <<_ACEOF |