Ticket #25431: patch-fdatasync_sl.diff

File patch-fdatasync_sl.diff, 877 bytes (added by raimue (Rainer Müller), 14 years ago)
  • configure.ac

    old new  
    553553dnl Check for usual libc functions
    554554AC_CHECK_FUNCS([ctime_r daemon fcntl fdopendir fstatvfs fork getenv getpwuid_r gettimeofday isatty lstat memalign openat posix_fadvise posix_madvise posix_memalign setenv setlocale stricmp strnicmp tdestroy uselocale])
    555555AC_REPLACE_FUNCS([asprintf atof atoll getcwd getdelim getpid gmtime_r lldiv localtime_r nrand48 rewind strcasecmp strcasestr strdup strlcpy strncasecmp strndup strnlen strsep strtof strtok_r strtoll swab vasprintf])
    556 AC_CHECK_FUNCS(fdatasync,,
    557   [AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.])
    558 ])
     556AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.])
    559557
    560558dnl Check for non-standard system calls
    561559AC_CHECK_FUNCS([accept4 dup3 eventfd vmsplice])