some functions were being checked but their IFDEF not being handled,
others (getpwnam and getgrnam) were isolated in a code that is now
Windows, then no need to check them as well as these are POSIX.
SVN revision: 81934
### Checks for header files
-AC_CHECK_HEADERS([grp.h pwd.h])
-
### Checks for types
### Checks for structures
### Checks for library functions
-AC_CHECK_FUNCS([fchmod chown getpwnam getgrnam])
-
# Check for splice system call
AC_MSG_CHECKING([whether to use splice for file copy])
#include <sys/mman.h>
#include <fcntl.h>
-#ifdef HAVE_PWD_H
-# include <pwd.h>
-#endif
-
#ifdef HAVE_FEATURES_H
# include <features.h>
#endif
# include <libgen.h>
#endif
-#ifdef HAVE_GRP_H
-# include <grp.h>
-#endif
-
#ifdef EFL_HAVE_POSIX_THREADS
# include <pthread.h>
#endif
typedef struct stat _eio_stat_t;
#define _eio_stat(p, b) stat(p, b)
#define _eio_lstat(p, b) lstat(p, b)
+
+# include <grp.h>
+# include <pwd.h>
#endif
/* Keeping 32 Eio_File_Progress alive should be enought */