From: Brian Behlendorf Date: Fri, 22 Feb 2013 23:50:00 +0000 (-0800) Subject: Configure --with-spl{-obj} auto-detect cleanup X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=9b2af9a097c119b818bd584eb89ca51ba475c7f2;hp=9b2af9a097c119b818bd584eb89ca51ba475c7f2;p=zfs.git 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//build dnl # 2) /usr/src/spl-/ dnl # 3) /usr/src/spl- dnl # 4) ../spl dnl # 5) /usr/src/kernels/ Signed-off-by: Brian Behlendorf ---