aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-02-26 11:51:18 +0000
committerMans Rullgard <mans@mansr.com>2011-02-26 11:51:55 +0000
commitaa3805a486831d9c9e40cc9e897c048d60b51c1a (patch)
tree554ccc743496396e12e6a99b5f2fddd83505e564 /configure
parent13ff92d19706d17f876ff676591dace0b3e34794 (diff)
downloadffmpeg-aa3805a486831d9c9e40cc9e897c048d60b51c1a.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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5795c4bdf4..b2756ff30d 100755
--- a/configure
+++ b/configure
@@ -3249,7 +3249,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(){