diff options
author | Ryan Moeller <[email protected]> | 2019-06-04 18:05:46 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-06-04 18:05:46 -0700 |
commit | 1a132f063882bba08253b6c0abf3846cdacfb7a6 (patch) | |
tree | 151ffde614984751f0396ecba359f8946d95a342 /.github | |
parent | df24bcf00a60a5a9b1673f4012ee4cbea8c13a69 (diff) |
Make Python detection optional and more portable
Previously, --without-python would cause ./configure to fail. Now it is
able to proceed, and the Python scripts will not be built.
Use portable parameter expansion matching instead of nonstandard
substring matching to detect the Python version. This test is
duplicated in several places, so define a function for it.
Don't assume the full path to binaries, since different platforms do
install things in different places. Use AC_CHECK_PROGS instead.
When building without Python, also build without pyzfs.
Sponsored by: iXsystems, Inc.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Richard Laager <[email protected]>
Reviewed-by: Eli Schwartz <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #8809
Closes #8731
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions