OSDN Git Service

Don't build thread library for targets that don't support threads.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Sep 2005 23:13:06 +0000 (23:13 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Sep 2005 23:13:06 +0000 (23:13 +0000)
commit83703eea9ce67d68f2e051fcb6391000f9aebcc0
tree5640ad73ab8b36db0e64e26d539b9e1a1d19f603
parent36813f7d8d1e46f92676f06a0f977170729fdbed
Don't build thread library for targets that don't support threads.
* configure.ac (pthread.h): Use AC_CHECK_HEADERS instead of
AC_CHECK_HEADER.
(target_thread_file): New.  Set from sed'ed gcc output.
(posix_threads): New.  Set from target_thread_file.  Use instead of
ac_have_pthread_h.
(pthread_create_version): Move initialization before code using it.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104838 138bc75d-0d04-0410-961f-82ee72b054a4
libmudflap/ChangeLog
libmudflap/configure
libmudflap/configure.ac