diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-12-22 23:07:52 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-12-22 23:07:52 +0530 |
commit | 8ce8299f9458c7fee8554ecd4b97cc5eddba4e4c (patch) | |
tree | 20532b2c52c1cfd50168be19d396acf12ee89a23 /ChangeLog | |
parent | a5ac5676be7b987edfbf800f577dab487fd85e5f (diff) | |
download | glibc-8ce8299f9458c7fee8554ecd4b97cc5eddba4e4c.tar.gz glibc-8ce8299f9458c7fee8554ecd4b97cc5eddba4e4c.tar.xz glibc-8ce8299f9458c7fee8554ecd4b97cc5eddba4e4c.zip |
Add configure check for python program
Add a configure check that looks for python3 and python in that order since we had agreed in the past to prefer python3 over python in all our code. The patch also adjusts invocations through the various Makefiles to use the set variable. * configure.ac: Check for python3 or python. * configure: Regenerated. * config.make.in (PYTHON): New variable. * benchtests/Makefile: Don't define PYTHON. (bench): Define target only if PYTHON was defined. * Rules: Don't define PYTHON. Define pretty printer targets only if PYTHON was defined. (tests-printers): Add to tests-unsupported if PYTHON is not found. (python-flags, python-invoke): Remove. (tests-printers-out): Use PYTHON instead of python-invoke.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 4f86f7a8cf..1fcd9eda10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org> + + * configure.ac: Check for python3 or python. + * configure: Regenerated. + * config.make.in (PYTHON): New variable. + * benchtests/Makefile: Don't define PYTHON. + (bench): Define target only if PYTHON was defined. + * Rules: Don't define PYTHON. + Define pretty printer targets only if PYTHON was defined. + (tests-printers): Add to tests-unsupported if PYTHON is not + found. + (python-flags, python-invoke): Remove. + (tests-printers-out): Use PYTHON instead of python-invoke. + 2016-12-21 Joseph Myers <joseph@codesourcery.com> [BZ #20978] |