target-supports.exp (check_effective_target_pthread_h): New.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 26 Feb 2008 00:11:06 +0000 (00:11 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 26 Feb 2008 00:11:06 +0000 (00:11 +0000)
commiteb587f4f71b81ae9eb0951799ce22a21773a3c3b
treef6e1e829d7b9f92ea235eef8514884892da570b7
parent683d6ff954e871028b34e8bd5e9fdda491ec2cbf
target-supports.exp (check_effective_target_pthread_h): New.

* lib/target-supports.exp (check_effective_target_pthread_h): New.
* gcc.dg/pthread-init-1.c, gcc.dg/pthread-init-2.c: Use
dg-require-effective-target pthread_h.

From-SVN: r132650
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pthread-init-1.c
gcc/testsuite/gcc.dg/pthread-init-2.c
gcc/testsuite/lib/target-supports.exp