Skip to content
  • argiopeweb's avatar
    Adds a more comprehensive check for fdatasync · b06446ed
    argiopeweb authored
    Some versions of OS X have fdatasync in the headers but don't include implementations in the standard library. This leads to a compile failure in configure.ac when using AC_CHECK_FUNCS.
    
    This change explicitly attempts to compile a file containing a call to fdatasync and properly sets the AC_CHECK_FUNCS flags depending on the result of compilation.
    b06446ed