Changeset 8691 for trunk/configure.ac


Ignore:
Timestamp:
Jun 14, 2009, 6:32:09 PM (13 years ago)
Author:
charles
Message:

(trunk) remove the test for fallocate(), since we used posix_fallocate() as a fallback anyway. <http://www.lucas-nussbaum.net/blog/?p=332> says: "Glibc does have posix_fallocate(), which implements the POSIX interface. posix_fallocate() is wired to use the fallocate system call, for sufficiently modern versions of glibc."

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r8690 r8691  
    8282AC_HEADER_TIME
    8383
    84 AC_MSG_CHECKING([for fallocate])
    85 AC_TRY_LINK([#include <linux/falloc.h>],
    86             [return fallocate(-1,0,0,0);],
    87             [AC_DEFINE([HAVE_FALLOCATE],[1],[Defined if fallocate() exists])
    88              AC_MSG_RESULT([yes])],
    89             [AC_MSG_RESULT([no])])
    9084AC_CHECK_FUNCS([lrintf strlcpy daemon dirname basename daemon strcasecmp localtime_r posix_fallocate memmem])
    9185AC_PROG_INSTALL
Note: See TracChangeset for help on using the changeset viewer.