diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-05 13:05:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-05 13:05:45 +0200 |
commit | 35623d833eeca1202685bfe0e4f3b5f3c1f1c512 (patch) | |
tree | d700a3ecc21399957472582e8210bde4d0c6f5a1 /configure | |
parent | d5dbd84c9ab63c2852103f5b6189cc7e53e797c9 (diff) | |
parent | 2cca96e670e78bb19eb0232469d5a27245e18c02 (diff) | |
download | ffmpeg-35623d833eeca1202685bfe0e4f3b5f3c1f1c512.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
configure: Check for getenv
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |