aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-02-26 11:51:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-02-28 00:34:38 +0100
commit1a9fc2b93be18b4b20310cca23e062133a798426 (patch)
tree9239a0b51463454c0c3394011a62306351f6b150
parent4e815a8b6070004fc3f4161e3735c35f69538518 (diff)
downloadffmpeg-1a9fc2b93be18b4b20310cca23e062133a798426.tar.gz
fate: get samples location from env var if not explicitly set
Use the FATE_SAMPLES environment variable if samples location is not set with the --samples configure option or on the make command line. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit aa3805a486831d9c9e40cc9e897c048d60b51c1a)
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c3c2027410..b9252fa0e8 100755
--- a/configure
+++ b/configure
@@ -3258,7 +3258,7 @@ SLIB_CREATE_DEF_CMD=${SLIB_CREATE_DEF_CMD}
SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}
SLIB_INSTALL_EXTRA_CMD=${SLIB_INSTALL_EXTRA_CMD}
SLIB_UNINSTALL_EXTRA_CMD=${SLIB_UNINSTALL_EXTRA_CMD}
-SAMPLES=$samples
+SAMPLES=${samples:-\$(FATE_SAMPLES)}
EOF
get_version(){