]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Use TESTS_ENVIRONMENT for older Automake versions
authorcypherpunks <cypherpunks@torproject.org>
Mon, 14 Dec 2015 20:03:10 +0000 (21:03 +0100)
committerNick Mathewson <nickm@torproject.org>
Mon, 14 Dec 2015 20:45:23 +0000 (15:45 -0500)
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

index 9577e1e80f0b80196cbcb896b1719f2dc6c13526..7a02a4e2f2dd954890ea7c0c46e117ad917653d7 100644 (file)
@@ -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)"; \