aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-05 13:05:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-05 13:05:45 +0200
commit35623d833eeca1202685bfe0e4f3b5f3c1f1c512 (patch)
treed700a3ecc21399957472582e8210bde4d0c6f5a1 /configure
parentd5dbd84c9ab63c2852103f5b6189cc7e53e797c9 (diff)
parent2cca96e670e78bb19eb0232469d5a27245e18c02 (diff)
downloadffmpeg-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-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 3acf57dd30..330a3b7ebe 100755
--- a/configure
+++ b/configure
@@ -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