Permalink
Browse files

Add some checks suggested by autoscan

  • Loading branch information...
nickg committed Oct 17, 2011
1 parent 046ecbd commit 6aad8b8ab4503878f6e0f5c58b1f9e30d12ea0a1
Showing with 30 additions and 4 deletions.
  1. +22 −0 config.h.in
  2. +8 −4 configure.ac
View
@@ -68,6 +68,9 @@
/* Define to 1 if you have the `rmdir' function. */
#undef HAVE_RMDIR
+/* Define to 1 if you have the `setenv' function. */
+#undef HAVE_SETENV
+
/* Define to 1 if stdbool.h conforms to C99. */
#undef HAVE_STDBOOL_H
@@ -107,6 +110,9 @@
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#undef HAVE_SYS_SOCKET_H
+
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
@@ -181,6 +187,11 @@
#define below would cause a syntax error. */
#undef _UINT32_T
+/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
+ <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
+ #define below would cause a syntax error. */
+#undef _UINT64_T
+
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
@@ -200,6 +211,10 @@
such a type exists and the standard includes do not define it. */
#undef int32_t
+/* Define to the type of a signed integer type of width exactly 64 bits if
+ such a type exists and the standard includes do not define it. */
+#undef int64_t
+
/* Define to the type of a signed integer type of width exactly 8 bits if such
a type exists and the standard includes do not define it. */
#undef int8_t
@@ -216,6 +231,9 @@
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t
+/* Define to `int' if <sys/types.h> does not define. */
+#undef ssize_t
+
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
#undef uint16_t
@@ -224,6 +242,10 @@
such a type exists and the standard includes do not define it. */
#undef uint32_t
+/* Define to the type of an unsigned integer type of width exactly 64 bits if
+ such a type exists and the standard includes do not define it. */
+#undef uint64_t
+
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
#undef uint8_t
View
@@ -18,12 +18,15 @@ AC_PROG_RANLIB
AC_C_INLINE
AC_TYPE_SIZE_T
+AC_TYPE_SSIZE_T
+AC_TYPE_INT8_T
AC_TYPE_INT16_T
AC_TYPE_INT32_T
-AC_TYPE_INT8_T
+AC_TYPE_INT64_T
+AC_TYPE_UINT8_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
-AC_TYPE_UINT8_T
+AC_TYPE_UINT64_T
AC_TYPE_PID_T
AC_FUNC_MMAP
@@ -32,10 +35,11 @@ AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_FORK
AC_CHECK_FUNCS([strdup mkdir realpath rmdir strerror strcasecmp \
- memset strchr strrchr strstr])
+ memset strchr strrchr strstr setenv])
AC_HEADER_STDBOOL
-AC_CHECK_HEADERS([limits.h stddef.h fcntl.h libintl.h malloc.h])
+AC_CHECK_HEADERS([limits.h stddef.h fcntl.h libintl.h malloc.h \
+ sys/socket.h])
AX_LLVM_C([engine bitreader bitwriter])

0 comments on commit 6aad8b8

Please sign in to comment.