Ver código fonte

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.
cypherpunks 8 anos atrás
pai
commit
254d63dabe
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      src/test/include.am

+ 4 - 1
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)"; \