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 aa3805a486)
This commit is contained in:
Mans Rullgard 2011-02-26 11:51:18 +00:00 committed by Michael Niedermayer
parent 4e815a8b60
commit 1a9fc2b93b

2
configure vendored
View File

@ -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(){