Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: Check for getenv

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-05-05 13:05:38 +02:00
commit 35623d833e
1 changed files with 3 additions and 0 deletions

3
configure vendored
View File

@ -3864,6 +3864,7 @@ check_func access
check_func clock_gettime || { check_func clock_gettime -lrt && add_extralibs -lrt; }
check_func fcntl
check_func fork
check_func_headers stdlib.h getenv
check_func gethrtime
check_func getopt
check_func getrusage
@ -4618,6 +4619,8 @@ if enabled yasm; then
printf '' >$TMPASM
fi
enabled getenv || echo "#define getenv(x) NULL" >> $TMPH
if enabled msvc && ! enabled shared; then
echo '#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_strtod")' >> $TMPH
echo '#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_snprintf")' >> $TMPH