Check availability of pwd.h and getpwnam()

This commit is contained in:
Tatsuhiro Tsujikawa 2012-08-01 02:06:27 +09:00
parent f3587e1591
commit 28e477eb3a
1 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,7 @@ AM_CONDITIONAL([ENABLE_EXAMPLES], [ test "x${enable_examples}" = "xyes" ])
AC_CHECK_HEADERS([ \
arpa/inet.h \
netinet/in.h \
pwd.h \
stddef.h \
stdint.h \
stdlib.h \
@ -154,6 +155,7 @@ if test "x$cross_compiling" != "xyes"; then
AC_FUNC_MALLOC
fi
AC_CHECK_FUNCS([ \
getpwnam \
memmove \
memset \
])