[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Use TESTS_ENVIRONMENT for older Automake versions



commit 254d63dabe0b89f83c4df0edb1daf719cc5d4ab7
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Mon Dec 14 21:03:10 2015 +0100

    Use TESTS_ENVIRONMENT for older Automake versions
    
    The AM_TESTS_ENVIRONMENT variable is available since Automake v1.12 but
    some distributions have older Automake versions so we use
    TESTS_ENVIRONMENT.
---
 src/test/include.am |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/test/include.am b/src/test/include.am
index 9577e1e..7a02a4e 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -1,4 +1,7 @@
-AM_TESTS_ENVIRONMENT = \
+# When the day comes that Tor requires Automake >= 1.12 change
+# TESTS_ENVIRONMENT to AM_TESTS_ENVIRONMENT because the former is reserved for
+# users while the later is reserved for developers.
+TESTS_ENVIRONMENT = \
 	export PYTHON="$(PYTHON)"; \
 	export SHELL="$(SHELL)"; \
 	export abs_top_srcdir="$(abs_top_srcdir)"; \



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits