Please sign in to comment.
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 regular expression 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. Signed-off-by: Ryan Moeller <email@example.com>
- Loading branch information...
Showing with 35 additions and 18 deletions.
|@@ -1,3 +1,8 @@|
|SUBDIRS = zfs zpool zdb zhack zinject zstreamdump ztest|
|SUBDIRS += mount_zfs fsck_zfs zvol_id vdev_id arcstat dbufstat zed|
|SUBDIRS += arc_summary raidz_test zgenhostid|
|SUBDIRS += fsck_zfs vdev_id raidz_test zgenhostid|
|SUBDIRS += arcstat arc_summary dbufstat|
|SUBDIRS += mount_zfs zed zvol_id|