Remove unused scandir() compat implementation

scandir() isn't used anywhere within the client, so we don't need to bother with a compat
implementation for systems that don't have it.
This commit is contained in:
Kevin Easton
2017-05-03 22:49:30 +10:00
parent 74a0c89d26
commit 6234efc2fd
5 changed files with 4 additions and 126 deletions

View File

@@ -198,7 +198,7 @@ if test x"$cross_compiling" != x"yes"; then
AC_FUNC_SETPGRP
fi
AC_FUNC_STRFTIME
AC_CHECK_FUNCS(socket gethostname gettimeofday strtoul strlcpy strlcat stpcpy vsnprintf snprintf setsid strerror uname getrusage sysconf getpgid killpg getlogin realpath fchdir getpass fpathconf getpwent setvbuf select mkstemp memmove scandir setenv)
AC_CHECK_FUNCS(socket gethostname gettimeofday strtoul strlcpy strlcat stpcpy vsnprintf snprintf setsid strerror uname getrusage sysconf getpgid killpg getlogin realpath fchdir getpass fpathconf getpwent setvbuf select mkstemp memmove setenv)
dnl Need these for Solaris
AC_CHECK_FUNC(gethostbyname,,
AC_CHECK_LIB(nsl, gethostbyname, LIBS="-lnsl $LIBS",))