X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Fkernel.m4;h=efb408c40e56dcc0adb19588389720b6684698e0;hb=ca8b5af89d2c5826af7385bf18f3b377b0efde11;hp=c08b6a22c4e2184763e7407f083062fbdc1b70cd;hpb=26e08952e6ad113b91ae7d31263b6a4fd3a5a09f;p=zfs.git diff --git a/config/kernel.m4 b/config/kernel.m4 index c08b6a2..efb408c 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -302,6 +302,13 @@ AC_DEFUN([ZFS_AC_SPL], [ sourcelink=../spl ]) + dnl # + dnl # Look in the kernel directory + dnl # + AS_IF([test -z "$sourcelink" || test ! -e $sourcelink/spl_config.h], [ + sourcelink="$LINUX" + ]) + AS_IF([test -e $sourcelink/spl_config.h], [ splsrc=`readlink -f ${sourcelink}` ], [