|
@@ -799,13 +799,14 @@ AC_CHECK_FUNCS([posix_fallocate],[have_posix_fallocate=yes])
|
|
ARIA2_CHECK_FALLOCATE
|
|
ARIA2_CHECK_FALLOCATE
|
|
if test "x$have_posix_fallocate" = "xyes" ||
|
|
if test "x$have_posix_fallocate" = "xyes" ||
|
|
test "x$have_fallocate" = "xyes" ||
|
|
test "x$have_fallocate" = "xyes" ||
|
|
|
|
+ test "x$have_osx" = "xyes" ||
|
|
test "x$win_build" = "xyes"; then
|
|
test "x$win_build" = "xyes"; then
|
|
AC_DEFINE([HAVE_SOME_FALLOCATE], [1],
|
|
AC_DEFINE([HAVE_SOME_FALLOCATE], [1],
|
|
[Define to 1 if *_fallocate is available.])
|
|
[Define to 1 if *_fallocate is available.])
|
|
fi
|
|
fi
|
|
AM_CONDITIONAL([HAVE_SOME_FALLOCATE],
|
|
AM_CONDITIONAL([HAVE_SOME_FALLOCATE],
|
|
[test "x$have_posix_fallocate" = "xyes" || test "x$have_fallocate" = "xyes" \
|
|
[test "x$have_posix_fallocate" = "xyes" || test "x$have_fallocate" = "xyes" \
|
|
- || test "x$win_build" = "xyes"])
|
|
|
|
|
|
+ || test "x$have_osx" = "xyes" || test "x$win_build" = "xyes"])
|
|
|
|
|
|
|
|
|
|
AC_CHECK_FUNCS([asctime_r],
|
|
AC_CHECK_FUNCS([asctime_r],
|