1 AC_DEFUN([OPENAFS_AUTOHEADER_BOTTOM],[
4 #undef STRUCT_SOCKADDR_HAS_SA_LEN
5 #if !defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)
6 # if ENDIANESS_IN_SYS_PARAM_H
8 # include <sys/types.h>
9 # include <sys/param.h>
10 # if BYTE_ORDER == BIG_ENDIAN
11 # define WORDS_BIGENDIAN 1
14 # if defined(AUTOCONF_FOUND_BIGENDIAN)
15 # define WORDS_BIGENDIAN 1
17 # undef WORDS_BIGENDIAN
21 # if defined(AUTOCONF_FOUND_BIGENDIAN)
22 # define WORDS_BIGENDIAN 1
24 # undef WORDS_BIGENDIAN
28 # if defined(__BIG_ENDIAN__)
29 # define WORDS_BIGENDIAN 1
31 # undef WORDS_BIGENDIAN
36 * Always use 64-bit file offsets for UKERNEL code. Needed for UKERNEL stuff to
37 * play nice with some other interfaces like FUSE. We technically only would
38 * need to define this when building for such interfaces, but set it always to
39 * try and reduce potential confusion.
41 # define _FILE_OFFSET_BITS 64
42 # define AFS_CACHE_VNODE_PATH
48 #undef DEFINED_FOR_EACH_PROCESS
49 #undef DEFINED_PREV_TASK
50 #undef EXPORTED_SYS_CALL_TABLE
51 #undef EXPORTED_IA32_SYS_CALL_TABLE
52 #undef IRIX_HAS_MEM_FUNCS
53 #undef RECALC_SIGPENDING_TAKES_VOID
54 #undef STRUCT_FS_HAS_FS_ROLLED
56 /* glue for RedHat kernel bug */
57 #undef ENABLE_REDHAT_BUILDSYS
58 #if defined(ENABLE_REDHAT_BUILDSYS) && defined(KERNEL) && defined(REDHAT_FIX)
59 # include "redhat-fix.h"