Modernize configure.ac

This commit is contained in:
Andrea Mazzoleni 2026-08-12 00:33:14 +02:00
parent b726c60077
commit 50adce36a4
4 changed files with 46 additions and 64 deletions

View file

@ -180,19 +180,6 @@
#if HAVE_DIRENT_H
#include <dirent.h>
#define NAMLEN(dirent) strlen((dirent)->d_name)
#else
#define dirent direct
#define NAMLEN(dirent) (dirent)->d_namlen
#if HAVE_SYS_NDIR_H
#include <sys/ndir.h>
#endif
#if HAVE_SYS_DIR_H
#include <sys/dir.h>
#endif
#if HAVE_NDIR_H
#include <ndir.h>
#endif
#endif
#if HAVE_SYS_TYPES_H