diff options
author | Brian Behlendorf <[email protected]> | 2013-02-22 15:50:00 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-03-13 13:42:16 -0700 |
commit | 9b2af9a097c119b818bd584eb89ca51ba475c7f2 (patch) | |
tree | a101a421948a6629af20c8746828c96522565003 /config/zfs-build.m4 | |
parent | 775f2d34a3ccd5f866cfa04be76f83cb562f3881 (diff) |
Configure --with-spl{-obj} auto-detect cleanup
Because the install location for the spl/zfs-devel headers was
changed we need to refresh the auto-detect code. Note that
for packaging which already explicitly calls --with-spl{-obj}
nothing has changed.
The updated code is now structured like that in ZFS_AC_KERNEL
and should be cleaner and easier to maintain. In addition,
it's stricter about detecting a valid source and object
directory. It requires:
* The source directory contains the file 'spl.release'
* The object directory contains the file 'spl_config.h'
* The following paths will be checked. Notice the /var/lib/
and /usr/src paths require that the spl and zfs version be
matched. This is done to prevent accidentally mixing releases.
dnl # 1) /var/lib/dkms/spl/<version>/build
dnl # 2) /usr/src/spl-<version>/<kernel-version>
dnl # 3) /usr/src/spl-<version>
dnl # 4) ../spl
dnl # 5) /usr/src/kernels/<kernel-version>
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config/zfs-build.m4')
0 files changed, 0 insertions, 0 deletions