The check `AC_HEADER_DIRENT` is no longer needed, as all current UNIX
systems have the correct version of this header. The checks and
corresponding define can be removed.
#include "SFinternal.h"
-#if HAVE_DIRENT_H
#include <dirent.h>
-#define DIRENT_DONE
-#else
-#define dirent direct
-# if HAVE_SYS_NDIR_H
-# include <sys/ndir.h>
-# define DIRENT_DONE
-# endif
-# if HAVE_NDIR_H
-# include <ndir.h>
-# define DIRENT_DONE
-# endif
-#endif
-
-#ifndef DIRENT_DONE
-#if defined (SVR4) || defined (SYSV) || defined (USG) || defined (__osf__) || defined (__svr4__) || defined (__FreeBSD__) || defined (SCO)
-#include <dirent.h>
-#else /* defined (SVR4) || defined (SYSV) || defined (USG) */
-#include <sys/dir.h>
-#define dirent direct
-#endif /* defined (SVR4) || defined (SYSV) || defined (USG) */
-#endif
#include <sys/stat.h>
lib strcasecmp
lib strncasecmp
-hdr dirent
hdr dlfcn
hdr errno
hdr fenv
sys/time.h sys/types.h sys/select.h \
sys/stat.h sys/mman.h sys/vfork.h \
sys/ioctl.h sys/inotify.h crt_externs.h)
-AC_HEADER_DIRENT
# Internationalization macros
# AM_GNU_GETTEXT
/* Define if you have the DevIL library */
/* #undef HAVE_DEVIL */
-/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
- */
-#define HAVE_DIRENT_H 1
-
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */