# Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDBOOL
-AC_CHECK_HEADERS([inttypes.h stdint.h stdlib.h string.h sys/time.h unistd.h iconv.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_C_INLINE
-AC_TYPE_INT64_T
-AC_TYPE_SIZE_T
-AC_TYPE_UINT32_T
-AC_TYPE_UINT8_T
+AC_CHECK_HEADERS([stdint.h unistd.h iconv.h])
# Checks for library functions.
-AC_CHECK_FUNCS([mkdir strcasecmp strdup strndup strtol])
+AC_CHECK_FUNCS([strdup strndup])
# Checks for libraries.
AC_SEARCH_LIBS([libiconv_open], [iconv], AC_DEFINE(CONFIG_ICONV, 1, [use iconv]))