mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 13:20:28 -05:00
Use eaccess() instead of access()
This commit is contained in:
parent
1f0136f2e5
commit
81995ccc8d
5 changed files with 54 additions and 36 deletions
|
|
@ -94,6 +94,7 @@ AC_CHECK_FUNCS([clock_gettime])
|
|||
AC_CHECK_CC_OPT([-pthread], CFLAGS="$CFLAGS -pthread", CFLAGS="$CFLAGS -D_REENTRANT")
|
||||
AC_CHECK_FUNCS([pthread_create])
|
||||
AC_SEARCH_LIBS([exp], [m])
|
||||
AC_CHECK_FUNCS([eaccess faccessat])
|
||||
|
||||
dnl Checks for statfs for linux avoiding to include sys/mount.h that is required only in darwin
|
||||
dnl In glibc since 7eae6a91e9b1670330c9f15730082c91c0b1d570, milestone 2.36, sys/mount.h defines fsconfig_command which conflicts with linux/mount.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue