From: RĂ©mi Denis-Courmont Date: Sat, 4 Sep 2010 05:11:57 +0000 (+0300) Subject: No need to check for ctime_r X-Git-Tag: 1.2.0-pre1~5326 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7087fab24f23a1375f1cd63be82695aa83db9ea8;p=vlc No need to check for ctime_r --- diff --git a/configure.ac b/configure.ac index 295e58df0e..e25c92aaf2 100644 --- a/configure.ac +++ b/configure.ac @@ -543,7 +543,7 @@ dnl Check for system libs needed need_libc=false dnl Check for usual libc functions -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]) +AC_CHECK_FUNCS([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]) 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]) AC_CHECK_FUNCS(fdatasync,, [AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.])