From: RĂ©mi Denis-Courmont Date: Sat, 15 May 2010 08:57:14 +0000 (+0300) Subject: Don't check for putenv X-Git-Tag: 1.2.0-pre1~6655 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4e8660881a3c31efb18b6249bc58652b5160bb06;p=vlc Don't check for putenv --- diff --git a/configure.ac b/configure.ac index 8571ab6d2b..8063f0cc8c 100644 --- a/configure.ac +++ b/configure.ac @@ -549,7 +549,7 @@ dnl Check for system libs needed need_libc=false dnl Check for usual libc functions -AC_CHECK_FUNCS([ctime_r daemon fcntl fdopendir fork getenv getpwuid_r gettimeofday isatty lstat memalign openat posix_fadvise posix_madvise posix_memalign putenv setenv setlocale stricmp strnicmp tdestroy uselocale]) +AC_CHECK_FUNCS([ctime_r daemon fcntl fdopendir 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.])