Commit 14579c8f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use AM_PATH_PYTHON to find the Python interpreter. (Bug 329).

parent 02c8dece
2003-08-13 Per Cederqvist <ceder@ceder.dyndns.org>
Use AM_PATH_PYTHON to find the Python interpreter. (Bug 329).
* configure.in: Use AM_PATH_PYTHON.
(HAVE_PYTHON): New automake conditional.
* HACKING: Use Automake 1.7.6 with a patch for better Python
handling.
* doc/Makefile.am (check-doc): Only perform the tests if
HAVE_PYTHON is set. Use $(PYTHON) instead of python. Print a
warning if HAVE_PYTHON isn't set.
* src/server/testsuite/Makefile.am (check-lyskomd): Only perform
the tests if HAVE_PYTHON is set. Use $(PYTHON) instead of python.
Print a warning if HAVE_PYTHON isn't set.
(check-leaks): Ditto.
(site.exp): Set python to the Python interpreter found by
configure.
* src/server/testsuite/lyskomd.0/Makefile.am ($(srcdir)/15.exp):
Use $(PYTHON) instead of python. Use the HAVE_PYTHON Automake
conditional.
($(srcdir)/19.exp): Ditto.
* src/server/testsuite/config/unix.exp (obtain_lock): Use $python
from site.exp instead of hardcoding "python".
(client_start): Ditto.
(client_start_fail): Ditto.
* scripts/xenofarm.sh: Removed tests for python. We should get a
warning message from "make check" if python is missing, but it
should still succeed.
Testsuite improvement.
* src/server/testsuite/lyskomd.0/37.exp: Added "DNS log threshold"
entries so that a slow DNS server won't interfere with this test.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment