Add compat mode for systems without openat(2)

This commit is contained in:
Christian Göttsche
2020-11-20 17:50:34 +01:00
committed by BenBE
parent 638207a2ff
commit 2ff2859c23
5 changed files with 111 additions and 42 deletions

View File

@ -92,7 +92,7 @@ AC_TYPE_UINT64_T
# ----------------------------------------------------------------------
AC_FUNC_CLOSEDIR_VOID
AC_FUNC_STAT
AC_CHECK_FUNCS([faccessat fstatat memmove readlinkat strdup strncasecmp strstr])
AC_CHECK_FUNCS([faccessat fstatat memmove openat readlinkat strdup strncasecmp strstr])
AC_SEARCH_LIBS([dlopen], [dl dld])