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 553 553 dnl Check for usual libc functions 554 554 AC_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]) 555 555 AC_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 ]) 556 AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.]) 559 557 560 558 dnl Check for non-standard system calls 561 559 AC_CHECK_FUNCS([accept4 dup3 eventfd vmsplice])