[llvm-commits] CVS: llvm/autoconf/configure.ac
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Feb 23 15:32:00 PST 2004
Changes in directory llvm/autoconf:
configure.ac updated: 1.76 -> 1.77
---
Log message:
Change test for pthreads to use AC_SUBST; add ThreadSupport.h as an AC_OUTPUT.
---
Diffs of the changes: (+4 -2)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.76 llvm/autoconf/configure.ac:1.77
--- llvm/autoconf/configure.ac:1.76 Mon Feb 23 15:12:58 2004
+++ llvm/autoconf/configure.ac Mon Feb 23 15:30:36 2004
@@ -222,7 +222,8 @@
dnl pthread locking functions are optional - but llvm will not be thread-safe
dnl without locks.
-AC_SEARCH_LIBS(pthread_mutex_lock,pthread,AC_DEFINE(HAVE_PTHREAD_MUTEX_LOCK,1,[Define if PThread mutexes (e.g., pthread_mutex_lock) are available in the system's thread library.]))
+AC_SEARCH_LIBS(pthread_mutex_lock,pthread,HAVE_PTHREAD_MUTEX_LOCK=1,HAVE_PTHREAD_MUTEX_LOCK=0)
+AC_SUBST(HAVE_PTHREAD_MUTEX_LOCK)
dnl Checks for header files.
dnl We don't check for ancient stuff or things that are guaranteed to be there
@@ -447,7 +448,8 @@
AC_OUTPUT(Makefile.config
include/Support/iterator
include/Support/hash_map
- include/Support/hash_set)
+ include/Support/hash_set
+ include/Support/ThreadSupport.h)
dnl Warn loudly if llvm-gcc was not obviously working
if test $llvmgccwarn = yes
More information about the llvm-commits
mailing list