projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46dd56c
)
For separate kernel source and build directories, allow the kernel build
author
Ian Abbott
<abbotti@mev.co.uk>
Mon, 4 Feb 2008 16:47:54 +0000
(16:47 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Mon, 4 Feb 2008 16:47:54 +0000
(16:47 +0000)
directory's Makefile to specify KERNELSRC using a relative path.
This avoids having to use the --with-kernelsrcdir option when configuring
Comedi for SuSE Linux's kernels.
m4/as-linux.m4
patch
|
blob
|
history
diff --git
a/m4/as-linux.m4
b/m4/as-linux.m4
index 468b5596a9c2e92b62de0ccb8395147ec718436b..74fcb416d5b8c354df2b4f2aa8b156e0ab58737f 100644
(file)
--- a/
m4/as-linux.m4
+++ b/
m4/as-linux.m4
@@
-185,6
+185,9
@@
AC_DEFUN([AS_LINUX_SRC_DIR],
LINUX_SRC_DIR="$1"
else
AC_MSG_RESULT([yes])
+ case "$dir" in
+ .*) dir="$1/$dir" ;;
+ esac
AS_TRY_LINUX_SRC_DIR([${dir}], [LINUX_SRC_DIR=${dir}], )
fi
fi