For PR540:

* Add check for pthread.h
* Make sure -lpthread gets added to LIBS if its available


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22402 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2005-07-12 15:24:20 +00:00
parent 9e4f701e91
commit 22177fe580
2 changed files with 261 additions and 36 deletions

View File

@ -151,6 +151,9 @@
/* Define to 1 if you have the `elf' library (-lelf). */
#undef HAVE_LIBELF
/* Define to 1 if you have the `pthread' library (-lpthread). */
#undef HAVE_LIBPTHREAD
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
@ -216,6 +219,9 @@
/* Define to have the %a format string */
#undef HAVE_PRINTF_A
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
/* Have pthread_mutex_lock */
#undef HAVE_PTHREAD_MUTEX_LOCK