--- configure.ac +++ configure.ac @@ -92,7 +92,7 @@ AC_CONFIG_LINKS(src/fnmatch.h:headers/fnmatch.h) fi -AC_CHECK_FUNCS(lchown endpwent endgrent) +AC_CHECK_FUNCS(lchown endpwent endgrent lstat) AC_FUNC_VPRINTF AC_FUNC_ALLOCA AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"])