Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap

This commit is contained in:
Brian Behlendorf 2010-03-08 16:09:17 -08:00
commit fe82eaea36
1 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,10 @@ AC_DEFUN([ZFS_AC_SPL], [
sourcelink=`ls -1d /usr/src/spl-*/${LINUX_VERSION} \
2>/dev/null | tail -1`
if test -z "$sourcelink" || test ! -e $sourcelink; then
sourcelink=../spl
fi
if test -e $sourcelink; then
splsrc=`readlink -f ${sourcelink}`
else