Commit 35623d83 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: Check for getenv
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents d5dbd84c 2cca96e6
...@@ -3864,6 +3864,7 @@ check_func access ...@@ -3864,6 +3864,7 @@ check_func access
check_func clock_gettime || { check_func clock_gettime -lrt && add_extralibs -lrt; } check_func clock_gettime || { check_func clock_gettime -lrt && add_extralibs -lrt; }
check_func fcntl check_func fcntl
check_func fork check_func fork
check_func_headers stdlib.h getenv
check_func gethrtime check_func gethrtime
check_func getopt check_func getopt
check_func getrusage check_func getrusage
...@@ -4618,6 +4619,8 @@ if enabled yasm; then ...@@ -4618,6 +4619,8 @@ if enabled yasm; then
printf '' >$TMPASM printf '' >$TMPASM
fi fi
enabled getenv || echo "#define getenv(x) NULL" >> $TMPH
if enabled msvc && ! enabled shared; then if enabled msvc && ! enabled shared; then
echo '#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_strtod")' >> $TMPH echo '#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_strtod")' >> $TMPH
echo '#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_snprintf")' >> $TMPH echo '#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_snprintf")' >> $TMPH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment