aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-07-12 15:24:20 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-07-12 15:24:20 +0000
commit22177fe580ef2e32cb2392408a00d8b6dfcaba6c (patch)
treecffc8b36b5b5ce366bf112172d86abb5144645d6 /include
parent9e4f701e91b64ef5be97ff9d70b1f36f896a92d4 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Config/config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index d382132464..b961c70620 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -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