From 28e477eb3a1cd11ee4c89ff32e737006ae2684be Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 1 Aug 2012 02:06:27 +0900 Subject: [PATCH] Check availability of pwd.h and getpwnam() --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index a9509a1..ee1f4d9 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \ ])