summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2016-11-10 10:04:13 (GMT)
committerWaLyong Cho <walyong.cho@samsung.com>2016-11-10 10:08:38 (GMT)
commit3856ef0845a510859ee0969b3839f659e43ab405 (patch)
tree4505e682d40bd809402b4fa15f48bc88a3e87fab
parent5404ee30387a5c19a9ff6269453fa701a51c8fe5 (diff)
downloadlibsystem-3856ef0845a510859ee0969b3839f659e43ab405.zip
libsystem-3856ef0845a510859ee0969b3839f659e43ab405.tar.gz
libsystem-3856ef0845a510859ee0969b3839f659e43ab405.tar.bz2
configure: add new checks for funcs and headers
Change-Id: I919044170ac771489236cd8437124c819721677b Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9e4ce3b..3d7a691 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,9 +25,10 @@ AC_PROG_INSTALL
AC_CHECK_LIB([rt], [main])
# Checks for header files.
-AC_CHECK_HEADERS([limits.h mntent.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h])
+AC_CHECK_HEADERS([fcntl.h limits.h mntent.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_INT32_T
AC_TYPE_INT64_T
@@ -44,7 +45,7 @@ AC_FUNC_GETMNTENT
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
AC_FUNC_MKTIME
AC_FUNC_REALLOC
-AC_CHECK_FUNCS([getmntent gettimeofday localtime_r memset mkdir rmdir strchr strcspn strdup strndup strrchr strspn])
+AC_CHECK_FUNCS([dup2 getmntent gettimeofday localtime_r memset mkdir rmdir strchr strcspn strdup strndup strrchr strspn])
AC_CHECK_TOOL(GPERF, gperf)
if test -z "$GPERF" ; then