|
|
|
@ -639,7 +639,7 @@ dnl Check for system libs needed |
|
|
|
need_libc=false |
|
|
|
|
|
|
|
dnl Check for usual libc functions |
|
|
|
AC_CHECK_FUNCS([accept4 daemon fcntl flock fstatat fstatvfs fork getenv getpwuid_r isatty memalign mkostemp mmap open_memstream newlocale pipe2 pread posix_fadvise posix_madvise setlocale stricmp strnicmp strptime uselocale]) |
|
|
|
AC_CHECK_FUNCS([accept4 daemon fcntl flock fstatat fstatvfs fork getmntent_r getenv getpwuid_r isatty memalign mkostemp mmap open_memstream newlocale pipe2 pread posix_fadvise posix_madvise setlocale stricmp strnicmp strptime uselocale]) |
|
|
|
AC_REPLACE_FUNCS([aligned_alloc atof atoll dirfd fdopendir flockfile fsync getdelim getpid lfind lldiv memrchr nrand48 poll posix_memalign recvmsg rewind sendmsg setenv strcasecmp strcasestr strdup strlcpy strndup strnlen strnstr strsep strtof strtok_r strtoll swab tdestroy tfind timegm timespec_get strverscmp pathconf]) |
|
|
|
AC_REPLACE_FUNCS([gettimeofday]) |
|
|
|
AC_CHECK_FUNC(fdatasync,, |
|
|
|
@ -900,7 +900,7 @@ dnl BSD |
|
|
|
AC_CHECK_HEADERS([netinet/tcp.h netinet/udplite.h sys/param.h sys/mount.h]) |
|
|
|
|
|
|
|
dnl GNU/Linux |
|
|
|
AC_CHECK_HEADERS([features.h getopt.h linux/dccp.h linux/magic.h mntent.h sys/eventfd.h]) |
|
|
|
AC_CHECK_HEADERS([features.h getopt.h linux/dccp.h linux/magic.h sys/eventfd.h]) |
|
|
|
|
|
|
|
dnl MacOS |
|
|
|
AC_CHECK_HEADERS([xlocale.h]) |
|
|
|
|