Check availability of pwd.h and getpwnam()
This commit is contained in:
parent
f3587e1591
commit
28e477eb3a
|
@ -131,6 +131,7 @@ AM_CONDITIONAL([ENABLE_EXAMPLES], [ test "x${enable_examples}" = "xyes" ])
|
||||||
AC_CHECK_HEADERS([ \
|
AC_CHECK_HEADERS([ \
|
||||||
arpa/inet.h \
|
arpa/inet.h \
|
||||||
netinet/in.h \
|
netinet/in.h \
|
||||||
|
pwd.h \
|
||||||
stddef.h \
|
stddef.h \
|
||||||
stdint.h \
|
stdint.h \
|
||||||
stdlib.h \
|
stdlib.h \
|
||||||
|
@ -154,6 +155,7 @@ if test "x$cross_compiling" != "xyes"; then
|
||||||
AC_FUNC_MALLOC
|
AC_FUNC_MALLOC
|
||||||
fi
|
fi
|
||||||
AC_CHECK_FUNCS([ \
|
AC_CHECK_FUNCS([ \
|
||||||
|
getpwnam \
|
||||||
memmove \
|
memmove \
|
||||||
memset \
|
memset \
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue