]> git.ipfire.org Git - thirdparty/gcc.git/commit
Don't build thread library for targets that don't support threads.
authorJames E Wilson <wilson@specifixinc.com>
Fri, 30 Sep 2005 23:13:06 +0000 (16:13 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 30 Sep 2005 23:13:06 +0000 (16:13 -0700)
commitcc6ac522f94f5a49471249da9b55aee778272cd2
tree5640ad73ab8b36db0e64e26d539b9e1a1d19f603
parent6a82a28a50a576a95355cb0917a02b501646f652
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.

From-SVN: r104838
libmudflap/ChangeLog
libmudflap/configure
libmudflap/configure.ac