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

Reid Spencer reid at x10sys.com
Thu Sep 2 14:38:35 PDT 2004



Changes in directory llvm/autoconf:

configure.ac updated: 1.106 -> 1.107
---
Log message:

Don't just assume that either uint64_t or u_int64_t is available. Instead,
give preference to uint64_t if it exists. If not, check for u_int64_t. If
that doesn't exist either, then error out.


---
Diffs of the changes:  (+3 -2)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.106 llvm/autoconf/configure.ac:1.107
--- llvm/autoconf/configure.ac:1.106	Thu Sep  2 13:44:44 2004
+++ llvm/autoconf/configure.ac	Thu Sep  2 16:38:24 2004
@@ -315,8 +315,9 @@
 AC_TYPE_PID_T
 AC_TYPE_SIZE_T
 AC_CHECK_TYPES([int64_t],,AC_MSG_ERROR([Type int64_t required but not found]))
-AC_CHECK_TYPES([uint64_t],,AC_MSG_ERROR([Type uint64_t required but not found]))
-AC_CHECK_TYPES([u_int64_t])
+AC_CHECK_TYPES([uint64_t],,
+               AC_CHECK_TYPES([u_int64_t],,
+                              AC_MSG_ERROR([Type uint64_t or u_int64_t required but not found])))
 AC_HEADER_TIME
 AC_STRUCT_TM
 






More information about the llvm-commits mailing list