aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-08-17 05:44:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-08-17 05:44:59 +0000
commitf8e9f7c70af05e40a65f75b49073b48941257839 (patch)
treec9f559f1b11c80d30d11647f9896bfabc04ccf8c /include
parent3da927b95db12e94a57a0e737b2d6a99b1f7934b (diff)
downloadexternal_llvm-f8e9f7c70af05e40a65f75b49073b48941257839.zip
external_llvm-f8e9f7c70af05e40a65f75b49073b48941257839.tar.gz
external_llvm-f8e9f7c70af05e40a65f75b49073b48941257839.tar.bz2
Fix PR1606:
The AC_CHECK_HEADER macro was used instead of AC_CHECK_HEADERS. The former does not automatically add a #define to the configure variables while the latter does. Consequently, the HAVE_PTHREAD_H symbol was not defined which caused the Mutex.cpp file to compile to an empty implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Config/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index ae4116a..cc83f65 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -282,6 +282,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