mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
linux-symbol-export-test-20020810
test for tasklist_lock being exported discussion on openafs-devel to follow
This commit is contained in:
parent
38025e0650
commit
2bde78fdac
@ -1,3 +1,19 @@
|
|||||||
|
AC_DEFUN(LINUX_EXPORTS_TASKLIST_LOCK, [
|
||||||
|
AC_MSG_CHECKING(for exported tasklist_lock)
|
||||||
|
save_CPPFLAGS="$CPPFLAGS"
|
||||||
|
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS"
|
||||||
|
AC_CACHE_VAL(ac_cv_linux_exports_tasklist_lock,
|
||||||
|
[
|
||||||
|
AC_TRY_COMPILE(
|
||||||
|
[#include <linux/modversions.h>],
|
||||||
|
[#ifndef __ver_tasklist_lock
|
||||||
|
#error tasklist_lock not exported
|
||||||
|
#endif],
|
||||||
|
ac_cv_linux_exports_tasklist_lock=yes,
|
||||||
|
ac_cv_linux_exports_tasklist_lock=no)])
|
||||||
|
AC_MSG_RESULT($ac_cv_linux_exports_tasklist_lock)
|
||||||
|
CPPFLAGS="$save_CPPFLAGS"])
|
||||||
|
|
||||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_MMAP_SHARED, [
|
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_MMAP_SHARED, [
|
||||||
AC_MSG_CHECKING(for i_mmap_shared in struct inode)
|
AC_MSG_CHECKING(for i_mmap_shared in struct inode)
|
||||||
save_CPPFLAGS="$CPPFLAGS"
|
save_CPPFLAGS="$CPPFLAGS"
|
||||||
|
Loading…
Reference in New Issue
Block a user