summaryrefslogtreecommitdiffstats
path: root/config/progtest.m4
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2019-06-04 18:05:46 -0700
committerBrian Behlendorf <[email protected]>2019-06-07 12:45:40 -0700
commitd6920fb99677b93f3f2d94a9f34bdf9c3268bf21 (patch)
treefdf3930199aa1ba48316ea056cccb60acbb444bf /config/progtest.m4
parent58b2de6420abfc60abcb280f82521a01ff8422af (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 'config/progtest.m4')
0 files changed, 0 insertions, 0 deletions