[llvm-commits] CVS: llvm/autoconf/configure.ac

John Criswell criswell at cs.uiuc.edu
Fri Sep 24 14:19:19 PDT 2004



Changes in directory llvm/autoconf:

configure.ac updated: 1.117 -> 1.118
---
Log message:

Updated the last two header files so that they are configured with
AC_CONFIG_HEADERS.  This should prevent LLVM from needlessly re-compiling
on a re-configure.



---
Diffs of the changes:  (+5 -5)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.117 llvm/autoconf/configure.ac:1.118
--- llvm/autoconf/configure.ac:1.117	Fri Sep 24 13:27:56 2004
+++ llvm/autoconf/configure.ac	Fri Sep 24 16:19:04 2004
@@ -42,12 +42,12 @@
 AC_CONFIG_HEADERS(include/llvm/Config/config.h)
 
 dnl Configure other output file
-AC_CONFIG_FILES(Makefile.config
- include/llvm/Support/ThreadSupport.h
- include/llvm/ADT/iterator)
+AC_CONFIG_FILES(Makefile.config)
 AC_CONFIG_HEADERS([include/llvm/Support/DataTypes.h])
 AC_CONFIG_HEADERS([include/llvm/ADT/hash_map])
 AC_CONFIG_HEADERS([include/llvm/ADT/hash_set])
+AC_CONFIG_HEADERS([include/llvm/Support/ThreadSupport.h])
+AC_CONFIG_HEADERS([include/llvm/ADT/iterator])
 
 dnl Do special configuration of Makefiles
 AC_CONFIG_MAKEFILE(Makefile)
@@ -255,8 +255,8 @@
 
 dnl pthread locking functions are optional - but llvm will not be thread-safe
 dnl without locks.
-AC_SEARCH_LIBS(pthread_mutex_lock,pthread,HAVE_PTHREAD_MUTEX_LOCK=1,HAVE_PTHREAD_MUTEX_LOCK=0)
-AC_SUBST(HAVE_PTHREAD_MUTEX_LOCK)
+AC_SEARCH_LIBS(pthread_mutex_lock,pthread,AC_DEFINE([HAVE_PTHREAD_MUTEX_LOCK],[1],[Have pthread_mutex_lock]))
+dnl 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






More information about the llvm-commits mailing list