git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove autotools products
[zfs.git]
/
config
/
kernel.m4
diff --git
a/config/kernel.m4
b/config/kernel.m4
index
c08b6a2
..
efb408c
100644
(file)
--- a/
config/kernel.m4
+++ b/
config/kernel.m4
@@
-302,6
+302,13
@@
AC_DEFUN([ZFS_AC_SPL], [
sourcelink=../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}`
], [
AS_IF([test -e $sourcelink/spl_config.h], [
splsrc=`readlink -f ${sourcelink}`
], [