#undef COMPLETION_H_EXISTS
#undef DEFINED_FOR_EACH_PROCESS
#undef DEFINED_PREV_TASK
-#undef EXPORTED_KALLSYMS_ADDRESS
#undef EXPORTED_KALLSYMS_SYMBOL
#undef EXPORTED_SYS_CALL_TABLE
#undef EXPORTED_IA32_SYS_CALL_TABLE
#undef INODE_SETATTR_NOT_VOID
#undef IRIX_HAS_MEM_FUNCS
#undef RECALC_SIGPENDING_TAKES_VOID
-#undef STRUCT_ADDRESS_SPACE_HAS_GFP_MASK
-#undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
#undef STRUCT_FS_HAS_FS_ROLLED
-#undef STRUCT_INODE_HAS_I_DEVICES
-#undef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
#undef STRUCT_INODE_HAS_I_ALLOC_SEM
-#undef STRUCT_INODE_HAS_I_TRUNCATE_SEM
#undef STRUCT_TASK_STRUCT_HAS_PARENT
#undef STRUCT_TASK_STRUCT_HAS_REAL_PARENT
#undef STRUCT_TASK_STRUCT_HAS_SIG
dnl Various compiler setup.
AC_TYPE_PID_T
AC_TYPE_SIZE_T
-COMPILER_HAS_FUNCTION_MACRO
dnl Checks for programs.
AC_PROG_INSTALL
AC_PATH_PROG(SOLARISCC, [cc], ,
[/opt/SUNWspro/bin:/opt/SunStudioExpress/bin])
SOLARIS_UFSVFS_HAS_DQRWLOCK
- SOLARIS_PROC_HAS_P_COREFILE
SOLARIS_FS_HAS_FS_ROLLED
SOLARIS_SOLOOKUP_TAKES_SOCKPARAMS
;;
LINUX_STRUCT_TASK_HAS_CRED
LINUX_STRUCT_PROC_DIR_ENTRY_HAS_OWNER
LINUX_HAVE_KMEM_CACHE_T
- LINUX_KMEM_CACHE_CREATE_TAKES_DTOR
LINUX_KMEM_CACHE_CREATE_CTOR_TAKES_VOID
LINUX_D_PATH_TAKES_STRUCT_PATH
LINUX_NEW_EXPORT_OPS
LINUX_DEFINES_PREV_TASK
LINUX_FS_STRUCT_SUPER_HAS_ALLOC_INODE
LINUX_STRUCT_SUPER_BLOCK_HAS_S_BDI
- LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
- LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_GFP_MASK
LINUX_FS_STRUCT_INODE_HAS_I_ALLOC_SEM
LINUX_FS_STRUCT_INODE_HAS_I_BLKBITS
LINUX_FS_STRUCT_INODE_HAS_I_BLKSIZE
- LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM
- LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
- LINUX_FS_STRUCT_INODE_HAS_I_DEVICES
- LINUX_FS_STRUCT_INODE_HAS_I_MMAP_SHARED
LINUX_FS_STRUCT_INODE_HAS_I_MUTEX
- LINUX_FS_STRUCT_INODE_HAS_I_SB_LIST
LINUX_FS_STRUCT_INODE_HAS_I_SECURITY
- LINUX_FS_STRUCT_INODE_HAS_INOTIFY_LOCK
- LINUX_FS_STRUCT_INODE_HAS_INOTIFY_SEM
LINUX_INODE_SETATTR_RETURN_TYPE
- LINUX_WRITE_INODE_RETURN_TYPE
LINUX_IOP_I_CREATE_TAKES_NAMEIDATA
LINUX_IOP_I_LOOKUP_TAKES_NAMEIDATA
LINUX_IOP_I_PERMISSION_TAKES_NAMEIDATA
LINUX_FS_STRUCT_FOP_HAS_FLOCK
LINUX_FS_STRUCT_FOP_HAS_SENDFILE
LINUX_FS_STRUCT_FOP_HAS_SPLICE
- LINUX_KERNEL_LINUX_SYSCALL_H
LINUX_KERNEL_LINUX_SEQ_FILE_H
LINUX_KERNEL_POSIX_LOCK_FILE_WAIT_ARG
LINUX_POSIX_TEST_LOCK_RETURNS_CONFLICT
LINUX_POSIX_TEST_LOCK_CONFLICT_ARG
- LINUX_KERNEL_SELINUX
LINUX_KERNEL_SOCK_CREATE
LINUX_KERNEL_PAGE_FOLLOW_LINK
LINUX_KERNEL_HLIST_UNHASHED
LINUX_FS_STRUCT_NAMEIDATA_HAS_PATH
LINUX_EXPORTS_INIT_MM
LINUX_EXPORTS_SYS_CHDIR
- LINUX_EXPORTS_SYS_CLOSE
LINUX_EXPORTS_SYS_OPEN
- LINUX_EXPORTS_SYS_WAIT4
LINUX_EXPORTS_RCU_READ_LOCK
if test "x$with_linux_kernel_packaging" = "xno" ; then
LINUX_WHICH_MODULES
if test -f "$LINUX_KERNEL_PATH/include/linux/mm_inline.h"; then
AC_DEFINE(HAVE_MM_INLINE_H, 1, [define if you have mm_inline.h header file])
fi
- if test -f "$LINUX_KERNEL_PATH/include/linux/in_systm.h"; then
- AC_DEFINE(HAVE_IN_SYSTM_H, 1, [define if you have in_systm.h header file])
- fi
if test "x$ac_cv_linux_exports_sys_chdir" = "xyes" ; then
AC_DEFINE(EXPORTED_SYS_CHDIR, 1, [define if your linux kernel exports sys_chdir])
fi
if test "x$ac_cv_linux_exports_sys_open" = "xyes" ; then
AC_DEFINE(EXPORTED_SYS_OPEN, 1, [define if your linux kernel exports sys_open])
fi
- if test "x$ac_cv_linux_exports_sys_close" = "xyes" ; then
- AC_DEFINE(EXPORTED_SYS_CLOSE, 1, [define if your linux kernel exports sys_close])
- fi
- if test "x$ac_cv_linux_exports_sys_wait4" = "xyes" ; then
- AC_DEFINE(EXPORTED_SYS_WAIT4, 1, [define if your linux kernel exports sys_wait4])
- fi
if test "x$ac_cv_linux_exports_sys_call_table" = "xyes"; then
AC_DEFINE(EXPORTED_SYS_CALL_TABLE, 1, [define if your linux kernel exports sys_call_table])
fi
if test "x$ac_cv_linux_func_inode_setattr_returns_int" = "xyes" ; then
AC_DEFINE(INODE_SETATTR_NOT_VOID, 1, [define if your setattr return return non-void])
fi
- if test "x$ac_cv_linux_func_write_inode_returns_int" = "xyes" ; then
- AC_DEFINE(WRITE_INODE_NOT_VOID, 1, [define if your sops.write_inode returns non-void])
- fi
if test "x$ac_cv_linux_fs_struct_super_has_alloc_inode" = "xyes" ; then
AC_DEFINE(STRUCT_SUPER_HAS_ALLOC_INODE, 1, [define if your struct super_operations has alloc_inode])
fi
- if test "x$ac_cv_linux_fs_struct_address_space_has_page_lock" = "xyes"; then
- AC_DEFINE(STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK, 1, [define if your struct address_space has page_lock])
- fi
- if test "x$ac_cv_linux_fs_struct_address_space_has_gfp_mask" = "xyes"; then
- AC_DEFINE(STRUCT_ADDRESS_SPACE_HAS_GFP_MASK, 1, [define if your struct address_space has gfp_mask])
- fi
- if test "x$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" = "xyes"; then
- AC_DEFINE(STRUCT_INODE_HAS_I_TRUNCATE_SEM, 1, [define if your struct inode has truncate_sem])
- fi
if test "x$ac_cv_linux_fs_struct_inode_has_i_alloc_sem" = "xyes"; then
AC_DEFINE(STRUCT_INODE_HAS_I_ALLOC_SEM, 1, [define if your struct inode has alloc_sem])
fi
if test "x$ac_cv_linux_fs_struct_inode_has_i_blksize" = "xyes"; then
AC_DEFINE(STRUCT_INODE_HAS_I_BLKSIZE, 1, [define if your struct inode has i_blksize])
fi
- if test "x$ac_cv_linux_fs_struct_inode_has_i_devices" = "xyes"; then
- AC_DEFINE(STRUCT_INODE_HAS_I_DEVICES, 1, [define if you struct inode has i_devices])
- fi
if test "x$ac_cv_linux_fs_struct_inode_has_i_security" = "xyes"; then
AC_DEFINE(STRUCT_INODE_HAS_I_SECURITY, 1, [define if you struct inode has i_security])
fi
if test "x$ac_cv_linux_fs_struct_inode_has_i_mutex" = "xyes"; then
AC_DEFINE(STRUCT_INODE_HAS_I_MUTEX, 1, [define if you struct inode has i_mutex])
fi
- if test "x$ac_cv_linux_fs_struct_inode_has_i_sb_list" = "xyes"; then
- AC_DEFINE(STRUCT_INODE_HAS_I_SB_LIST, 1, [define if you struct inode has i_sb_list])
- fi
- if test "x$ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers" = "xyes"; then
- AC_DEFINE(STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS, 1, [define if your struct inode has data_buffers])
- fi
- if test "x$ac_cv_linux_fs_struct_inode_has_inotify_lock" = "xyes"; then
- AC_DEFINE(STRUCT_INODE_HAS_INOTIFY_LOCK, 1, [define if your struct inode has inotify_lock])
- fi
- if test "x$ac_cv_linux_fs_struct_inode_has_inotify_sem" = "xyes"; then
- AC_DEFINE(STRUCT_INODE_HAS_INOTIFY_SEM, 1, [define if your struct inode has inotify_sem])
- fi
- if test "x$ac_cv_linux_func_recalc_sigpending_takes_void" = "xyes"; then
+ if test "x$ac_cv_linux_func_recalc_sigpending_takes_void" = "xyes"; then
AC_DEFINE(RECALC_SIGPENDING_TAKES_VOID, 1, [define if your recalc_sigpending takes void])
fi
if test "x$ac_cv_linux_kernel_posix_lock_file_wait_arg" = "xyes" ; then
AC_DEFINE(POSIX_LOCK_FILE_WAIT_ARG, 1, [define if your linux kernel uses 3 arguments for posix_lock_file])
fi
- if test "x$ac_cv_linux_kernel_is_selinux" = "xyes" ; then
- AC_DEFINE(LINUX_KERNEL_IS_SELINUX, 1, [define if your linux kernel uses SELinux features])
- fi
if test "x$ac_cv_linux_kernel_sock_create_v" = "xyes" ; then
AC_DEFINE(LINUX_KERNEL_SOCK_CREATE_V, 1, [define if your linux kernel uses 5 arguments for sock_create])
fi
if test "x$ac_cv_linux_kernel_hlist_unhashed" = "xyes" ; then
AC_DEFINE(HAVE_KERNEL_HLIST_UNHASHED, 1, [define if your linux kernel provides hlist_unhashed])
fi
- if test "x$ac_linux_syscall" = "xyes" ; then
- AC_DEFINE(HAVE_KERNEL_LINUX_SYSCALL_H, 1, [define if your linux kernel has linux/syscall.h])
- fi
if test "x$ac_linux_seq_file" = "xyes" ; then
AC_DEFINE(HAVE_KERNEL_LINUX_SEQ_FILE_H, 1, [define if your linux kernel has linux/seq_file.h])
fi
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_HEADER_DIRENT
-AC_CHECK_HEADERS(stdlib.h string.h unistd.h poll.h fcntl.h sys/time.h sys/file.h grp.h)
+AC_CHECK_HEADERS(stdlib.h string.h unistd.h fcntl.h sys/time.h sys/file.h grp.h)
AC_CHECK_HEADERS(netinet/in.h netdb.h sys/fcntl.h sys/mnttab.h sys/mntent.h)
AC_CHECK_HEADERS(mntent.h sys/vfs.h sys/param.h sys/fs_types.h sys/fstyp.h)
-AC_CHECK_HEADERS(sys/mount.h strings.h termios.h signal.h poll.h sys/pag.h)
-AC_CHECK_HEADERS(windows.h malloc.h winsock2.h direct.h io.h sys/user.h sys/ipc.h)
-AC_CHECK_HEADERS(security/pam_modules.h siad.h usersec.h ucontext.h regex.h values.h sys/statvfs.h sys/statfs.h sys/bitypes.h)
+AC_CHECK_HEADERS(sys/mount.h strings.h termios.h signal.h sys/pag.h)
+AC_CHECK_HEADERS(windows.h direct.h sys/ipc.h)
+AC_CHECK_HEADERS(security/pam_modules.h ucontext.h regex.h sys/statvfs.h sys/statfs.h sys/bitypes.h)
AC_CHECK_HEADERS(linux/errqueue.h,,,[#include <linux/types.h>])
AC_CHECK_HEADERS(et/com_err.h)
fi
AC_SUBST(BUILD_LOGIN)
-AC_CHECK_FUNCS(utimes random srandom getdtablesize snprintf strlcat strlcpy re_comp re_exec flock)
+AC_CHECK_FUNCS(snprintf strlcat strlcpy flock)
AC_CHECK_FUNCS(setprogname getprogname sigaction mkstemp vsnprintf strerror strcasestr)
AC_CHECK_FUNCS(setvbuf vsyslog getcwd)
AC_CHECK_FUNCS(regcomp regexec regerror)
AC_TYPE_INTPTR_T
AC_TYPE_UINTPTR_T
AC_CHECK_TYPE(ssize_t, int)
-AC_CHECK_TYPES(sig_t, , ,
- [#include <sys/types.h>
- #include <signal.h> ])
AC_CHECK_TYPE([sig_atomic_t], ,
[AC_DEFINE([sig_atomic_t], [int],
[Define to int if <signal.h> does not define.])],
+++ /dev/null
-AC_DEFUN([COMPILER_HAS_FUNCTION_MACRO], [
-AC_MSG_CHECKING(for __FUNCTION__ and __LINE__ macros)
-AC_CACHE_VAL(ac_cv_compiler_has_function_macro,
-[
-AC_TRY_COMPILE(
-[#include <stdio.h>],
-[printf("%s:%d", __FUNCTION__, __LINE__);],
-ac_cv_compiler_has_function_macro=yes,
-ac_cv_compiler_has_function_macro=no)])
-AC_MSG_RESULT($ac_cv_compiler_has_function_macro)
-if test "$ac_cv_compiler_has_function_macro" = "yes"; then
- AC_DEFINE(HAVE_FUNCTION_MACRO, 1, [define if compiler has __FUNCTION__])
-fi
-])
-
CPPFLAGS="$CPPFLAGS $KRB5CFLAGS"
save_LIBS="$LIBS"
LIBS="$LIBS $KRB5LIBS"
- AC_CHECK_FUNCS([add_to_error_table add_error_table krb5_princ_size krb5_principal_get_comp_string encode_krb5_enc_tkt_part encode_krb5_ticket krb5_c_encrypt krb5_c_encrypt_length krb5_cc_register krb5_decode_ticket krb5_get_prompt_types])
+ AC_CHECK_FUNCS([add_to_error_table add_error_table krb5_princ_size krb5_principal_get_comp_string encode_krb5_enc_tkt_part encode_krb5_ticket krb5_c_encrypt krb5_decode_ticket krb5_get_prompt_types])
AC_CHECK_FUNCS([krb5_524_convert_creds], ,
[AC_CHECK_FUNCS([krb524_convert_creds_kdc], ,
[AC_CHECK_LIB([krb524], [krb524_convert_creds_kdc],
LIBS="$save_LIBS"
fi
-if test "x$ac_cv_krb5_cc_register_exists" = "xyes"; then
- AC_DEFINE(HAVE_KRB5_CC_REGISTER, 1, [define if krb5_cc_register exists])
-fi
-
AC_SUBST(BUILD_KRB5)
AC_SUBST(MAKE_KRB5)
AC_SUBST(KRB5CFLAGS)
-AC_DEFUN([LINUX_KERNEL_LINUX_SYSCALL_H],[
- AC_MSG_CHECKING(for linux/syscall.h in kernel)
- AC_TRY_KBUILD([#include <linux/syscall.h>], [],
- [ac_linux_syscall=yes], [ac_linux_syscall=no])
- AC_MSG_RESULT($ac_linux_syscall)
-])
-
AC_DEFUN([LINUX_NEED_RHCONFIG],[
RHCONFIG_SP=""
RHCONFIG_MP=""
AC_SUBST(MPS)
])
-AC_DEFUN([LINUX_KERNEL_SELINUX],[
-AC_MSG_CHECKING(for SELinux kernel)
-AC_CACHE_VAL(ac_cv_linux_kernel_is_selinux,
-[
-AC_TRY_KBUILD(
- [#include <linux/autoconf.h>],
- [#ifndef CONFIG_SECURITY_SELINUX
- #error not SELINUX
- #endif],
- ac_cv_linux_kernel_is_selinux=yes,
- ac_cv_linux_kernel_is_selinux=no)])
-AC_MSG_RESULT($ac_cv_linux_kernel_is_selinux)
-])
-
AC_DEFUN([LINUX_KERNEL_LINUX_SEQ_FILE_H],[
AC_MSG_CHECKING(for linux/seq_file.h in kernel)
AC_TRY_KBUILD([#include <linux/seq_file.h>], [],
ac_cv_linux_exports_sys_chdir=no)])
AC_MSG_RESULT($ac_cv_linux_exports_sys_chdir)])
-
-AC_DEFUN([LINUX_EXPORTS_SYS_CLOSE], [
- AC_MSG_CHECKING([for exported sys_close])
- AC_CACHE_VAL([ac_cv_linux_exports_sys_close], [
- AC_TRY_KBUILD(
-[extern asmlinkage long sys_close(void) __attribute__((weak));],
-[void *address = &sys_close;
-printk("%p\n", address);],
- ac_cv_linux_exports_sys_close=yes,
- ac_cv_linux_exports_sys_close=no)])
- AC_MSG_RESULT($ac_cv_linux_exports_sys_close)])
-
-
AC_DEFUN([LINUX_EXPORTS_SYS_OPEN], [
AC_MSG_CHECKING([for exported sys_open])
AC_CACHE_VAL([ac_cv_linux_exports_sys_open], [
AC_MSG_RESULT($ac_cv_linux_exports_sys_open)])
-AC_DEFUN([LINUX_EXPORTS_SYS_WAIT4], [
- AC_MSG_CHECKING([for exported sys_wait4])
- AC_CACHE_VAL([ac_cv_linux_exports_sys_wait4], [
- AC_TRY_KBUILD(
-[extern asmlinkage long sys_wait4(void) __attribute__((weak));],
-[void *address = &sys_wait4;
-printk("%p\n", address);],
- ac_cv_linux_exports_sys_wait4=yes,
- ac_cv_linux_exports_sys_wait4=no)])
- AC_MSG_RESULT($ac_cv_linux_exports_sys_wait4)])
-
-
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_BLKSIZE], [
AC_MSG_CHECKING([for i_blksize in struct inode])
AC_CACHE_VAL([ac_cv_linux_fs_struct_inode_has_i_blksize], [
AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_cdev)])
-AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_DEVICES], [
- AC_MSG_CHECKING([for i_devices in struct inode])
- AC_CACHE_VAL([ac_cv_linux_fs_struct_inode_has_i_devices], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct inode _inode;
-printk("%d\n", _inode.i_devices);],
- ac_cv_linux_fs_struct_inode_has_i_devices=yes,
- ac_cv_linux_fs_struct_inode_has_i_devices=no)])
- AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_devices)])
-
-
-AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS], [
- AC_MSG_CHECKING([for i_dirty_data_buffers in struct inode])
- AC_CACHE_VAL([ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct inode _inode;
-printk("%d\n", _inode.i_dirty_data_buffers);],
- ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers=yes,
- ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers=no)])
- AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers)])
-
-
-AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_INOTIFY_LOCK], [
- AC_MSG_CHECKING([for inotify_lock in struct inode])
- AC_CACHE_VAL([ac_cv_linux_fs_struct_inode_has_inotify_lock], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct inode _inode;
-printk("%d\n", _inode.inotify_lock);],
- ac_cv_linux_fs_struct_inode_has_inotify_lock=yes,
- ac_cv_linux_fs_struct_inode_has_inotify_lock=no)])
- AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_inotify_lock)])
-
-AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_INOTIFY_SEM], [
- AC_MSG_CHECKING([for inotify_sem in struct inode])
- AC_CACHE_VAL([ac_cv_linux_fs_struct_inode_has_inotify_sem], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct inode _inode;
-printk("%x\n", _inode.inotify_sem);],
- ac_cv_linux_fs_struct_inode_has_inotify_sem=yes,
- ac_cv_linux_fs_struct_inode_has_inotify_sem=no)])
- AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_inotify_sem)])
-
-
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_MAPPING_OVERLOAD], [
AC_MSG_CHECKING([for i_mapping_overload in struct inode])
AC_CACHE_VAL([ac_cv_linux_fs_struct_inode_has_i_mapping_overload], [
AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_security)])
-AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_SB_LIST], [
- AC_MSG_CHECKING([for i_sb_list in struct inode])
- AC_CACHE_VAL([ac_cv_linux_fs_struct_inode_has_i_sb_list], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct inode _inode;
-printk("%d\n", _inode.i_sb_list);],
- ac_cv_linux_fs_struct_inode_has_i_sb_list=yes,
- ac_cv_linux_fs_struct_inode_has_i_sb_list=no)])
- AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_sb_list)])
-
-
AC_DEFUN([LINUX_RECALC_SIGPENDING_ARG_TYPE], [
AC_MSG_CHECKING([for recalc_sigpending arg type])
AC_CACHE_VAL([ac_cv_linux_func_recalc_sigpending_takes_void], [
CPPFLAGS="$save_CPPFLAGS"])
AC_MSG_RESULT($ac_cv_linux_kernel_hlist_unhashed)])
-AC_DEFUN([LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_GFP_MASK], [
- AC_MSG_CHECKING([for gfp_mask in struct address_space])
- AC_CACHE_VAL([ac_cv_linux_fs_struct_address_space_has_gfp_mask], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct address_space _a;
-printk("%d\n", _a.gfp_mask);],
- ac_cv_linux_fs_struct_address_space_has_gfp_mask=yes,
- ac_cv_linux_fs_struct_address_space_has_gfp_mask=no)])
- AC_MSG_RESULT($ac_cv_linux_fs_struct_address_space_has_gfp_mask)])
-
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_BYTES], [
AC_MSG_CHECKING([for i_bytes in struct inode])
AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_alloc_sem)])
-AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM], [
- AC_MSG_CHECKING([for i_truncate_sem in struct inode])
- AC_CACHE_VAL([ac_cv_linux_fs_struct_inode_has_i_truncate_sem], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct inode _i;
-printk("%x\n", _i.i_truncate_sem);],
- ac_cv_linux_fs_struct_inode_has_i_truncate_sem=yes,
- ac_cv_linux_fs_struct_inode_has_i_truncate_sem=no)])
- AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_truncate_sem)])
-
-
-AC_DEFUN([LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK], [
- AC_MSG_CHECKING([for page_lock in struct address_space])
- AC_CACHE_VAL([ac_cv_linux_fs_struct_address_space_has_page_lock], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct address_space _a_s;
-printk("%x\n", _a_s.page_lock);],
- ac_cv_linux_fs_struct_address_space_has_page_lock=yes,
- ac_cv_linux_fs_struct_address_space_has_page_lock=no)])
- AC_MSG_RESULT($ac_cv_linux_fs_struct_address_space_has_page_lock)])
-
-
AC_DEFUN([LINUX_INODE_SETATTR_RETURN_TYPE], [
AC_MSG_CHECKING([for inode_setattr return type])
AC_CACHE_VAL([ac_cv_linux_func_inode_setattr_returns_int], [
AC_MSG_RESULT($ac_cv_linux_func_inode_setattr_returns_int)])
-AC_DEFUN([LINUX_WRITE_INODE_RETURN_TYPE], [
- AC_MSG_CHECKING([for write_inode return type])
- AC_CACHE_VAL([ac_cv_linux_func_write_inode_returns_int], [
- AC_TRY_KBUILD(
-[#include <linux/fs.h>],
-[struct inode _inode;
-struct super_operations _sops;
-int i;
-i = _sops.write_inode(&_inode, 0);],
- ac_cv_linux_func_write_inode_returns_int=yes,
- ac_cv_linux_func_write_inode_returns_int=no)])
- AC_MSG_RESULT($ac_cv_linux_func_write_inode_returns_int)])
-
-
AC_DEFUN([LINUX_AOP_WRITEBACK_CONTROL], [
AC_MSG_CHECKING([whether address_space_operations.writepage takes a writeback_control])
AC_CACHE_VAL([ac_cv_linux_func_a_writepage_takes_writeback_control], [
+++ /dev/null
-AC_DEFUN([SOLARIS_PROC_HAS_P_COREFILE], [
-AC_MSG_CHECKING(for p_corefile in struct proc)
-AC_CACHE_VAL(ac_cv_solaris_proc_has_p_corefile,
-[
-AC_TRY_COMPILE(
-[#define _KERNEL
-#include <sys/proc.h>],
-[struct proc _proc;
-(void) _proc.p_corefile;],
-ac_cv_solaris_proc_has_p_corefile=yes,
-ac_cv_solaris_proc_has_p_corefile=no)])
-AC_MSG_RESULT($ac_cv_solaris_proc_has_p_corefile)
-if test "$ac_cv_solaris_proc_has_p_corefile" = "yes"; then
- AC_DEFINE(HAVE_P_COREFILE, 1, [define if struct proc has p_corefile])
-fi
-])
-
/* Define if you have the connect function. */
#undef HAVE_CONNECT
-/* Define if you have the getdtablesize function. */
-#undef HAVE_GETDTABLESIZE
-
/* Define if you have the gethostbyname function. */
#define HAVE_GETHOSTBYNAME
-/* Define if you have the random function. */
-#define HAVE_RANDOM
-
-/* Define if you have the re_comp function. */
-#undef HAVE_RE_COMP
-
-/* Define if you have the re_exec function. */
-#undef HAVE_RE_EXEC
-
/* Define if you have the res_search function. */
#undef HAVE_RES_SEARCH
/* Define if you have the socket function. */
#define HAVE_SOCKET
-/* Define if you have the srandom function. */
-#undef HAVE_SRANDOM
-
-/* Define if you have the utimes function. */
-#define HAVE_UTIMES
-
/* Define if you have the <direct.h> header file. */
#undef HAVE_DIRECT_H
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H
-/* Define if you have the <io.h> header file. */
-#define HAVE_IO_H
-
-/* Define if you have the <malloc.h> header file. */
-#define HAVE_MALLOC_H
-
/* Define if you have the <mntent.h> header file. */
#undef HAVE_MNTENT_H
/* Define if you have the <security/pam_modules.h> header file. */
#undef HAVE_SECURITY_PAM_MODULES_H
-/* Define if you have the <siad.h> header file. */
-#undef HAVE_SIAD_H
-
/* Define if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
-/* Define if you have the <usersec.h> header file. */
-#undef HAVE_USERSEC_H
-
/* Define if you have the <windows.h> header file. */
#define HAVE_WINDOWS_H