git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e45d9bf
)
disable-new-afs-thread-model-in-old-kernels-20021126
author
Derrick Brashear
<shadow@dementia.org>
Wed, 27 Nov 2002 00:00:07 +0000 (
00:00
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Wed, 27 Nov 2002 00:00:07 +0000 (
00:00
+0000)
don't use new kernel thread model for 2.4.7-10
src/cf/linux-test4.m4
patch
|
blob
|
history
diff --git
a/src/cf/linux-test4.m4
b/src/cf/linux-test4.m4
index
ca39852
..
5b564ed
100644
(file)
--- a/
src/cf/linux-test4.m4
+++ b/
src/cf/linux-test4.m4
@@
-85,8
+85,13
@@
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS"
AC_CACHE_VAL(ac_cv_linux_completion_h_exists,
[
AC_TRY_COMPILE(
-[#include <linux/completion.h>],
-[struct completion _c;],
+[#include <linux/completion.h>
+#include <linux/version.h?],
+[struct completion _c;
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,8)
+lose
+#endif
+],
ac_cv_linux_completion_h_exists=yes,
ac_cv_linux_completion_h_exists=no)])
AC_MSG_RESULT($ac_cv_linux_completion_h_exists)