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

John Criswell criswell at cs.uiuc.edu
Fri Sep 24 06:29:08 PDT 2004



Changes in directory llvm/autoconf:

configure.ac updated: 1.115 -> 1.116
---
Log message:

Configure Datatypes.h.in with AC_CONFIG_HEADERS.  This should prevent it
from being re-generated if the new version is identical to the old version.
Hence, it should save us some recompiling after re-configures.




---
Diffs of the changes:  (+4 -14)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.115 llvm/autoconf/configure.ac:1.116
--- llvm/autoconf/configure.ac:1.115	Tue Sep 21 12:12:35 2004
+++ llvm/autoconf/configure.ac	Fri Sep 24 08:28:51 2004
@@ -43,11 +43,11 @@
 
 dnl Configure other output file
 AC_CONFIG_FILES(Makefile.config
- include/llvm/Support/DataTypes.h
  include/llvm/Support/ThreadSupport.h
  include/llvm/ADT/hash_map
  include/llvm/ADT/hash_set
  include/llvm/ADT/iterator)
+AC_CONFIG_HEADERS([include/llvm/Support/DataTypes.h])
 
 dnl Do special configuration of Makefiles
 AC_CONFIG_MAKEFILE(Makefile)
@@ -270,19 +270,9 @@
 dnl Check for things that need to be included in public headers, and so
 dnl for which we may not have access to a HAVE_* preprocessor #define.
 dnl (primarily used in DataTypes.h)
-AC_CHECK_HEADER([sys/types.h],
-                [INCLUDE_SYS_TYPES_H='#include <sys/types.h>'],
-                [INCLUDE_SYS_TYPES_H=''])
-AC_SUBST(INCLUDE_SYS_TYPES_H)
-AC_CHECK_HEADER([inttypes.h],
-                [INCLUDE_INTTYPES_H='#include <inttypes.h>'],
-                [INCLUDE_INTTYPES_H=''])
-AC_SUBST(INCLUDE_INTTYPES_H)
-AC_CHECK_HEADER([stdint.h],
-                [INCLUDE_STDINT_H='#include <stdint.h>'],
-                [INCLUDE_STDINT_H=''])
-AC_SUBST(INCLUDE_STDINT_H)
-
+AC_CHECK_HEADER([sys/types.h])
+AC_CHECK_HEADER([inttypes.h])
+AC_CHECK_HEADER([stdint.h])
 
 dnl Check for types
 AC_TYPE_PID_T






More information about the llvm-commits mailing list