]> git.sesse.net Git - ffmpeg/commitdiff
fate: get samples location from env var if not explicitly set
authorMans Rullgard <mans@mansr.com>
Sat, 26 Feb 2011 11:51:18 +0000 (11:51 +0000)
committerMans Rullgard <mans@mansr.com>
Sat, 26 Feb 2011 11:51:55 +0000 (11:51 +0000)
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>
configure

index 5795c4bdf4aed4c9916ee92af7944c9d91ce24d3..b2756ff30d733a021f5257c5ff579028fa94897b 100755 (executable)
--- 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(){