1 AC_DEFUN([OPENAFS_AUTOHEADER_TOP],[
4 #define __AFSCONFIG_H 1])
6 AC_DEFUN([OPENAFS_AUTOHEADER_BOTTOM],[
9 #undef STRUCT_SOCKADDR_HAS_SA_LEN
10 #if !defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)
11 # if ENDIANESS_IN_SYS_PARAM_H
13 # include <sys/types.h>
14 # include <sys/param.h>
15 # if BYTE_ORDER == BIG_ENDIAN
16 # define WORDS_BIGENDIAN 1
19 # if defined(AUTOCONF_FOUND_BIGENDIAN)
20 # define WORDS_BIGENDIAN 1
22 # undef WORDS_BIGENDIAN
26 # if defined(AUTOCONF_FOUND_BIGENDIAN)
27 # define WORDS_BIGENDIAN 1
29 # undef WORDS_BIGENDIAN
33 # if defined(__BIG_ENDIAN__)
34 # define WORDS_BIGENDIAN 1
36 # undef WORDS_BIGENDIAN
41 * Always use 64-bit file offsets for UKERNEL code. Needed for UKERNEL stuff to
42 * play nice with some other interfaces like FUSE. We technically only would
43 * need to define this when building for such interfaces, but set it always to
44 * try and reduce potential confusion.
46 # define _FILE_OFFSET_BITS 64
47 # define AFS_CACHE_VNODE_PATH
53 #undef DEFINED_FOR_EACH_PROCESS
54 #undef DEFINED_PREV_TASK
55 #undef EXPORTED_SYS_CALL_TABLE
56 #undef EXPORTED_IA32_SYS_CALL_TABLE
57 #undef IRIX_HAS_MEM_FUNCS
58 #undef RECALC_SIGPENDING_TAKES_VOID
59 #undef STRUCT_FS_HAS_FS_ROLLED
61 /* glue for RedHat kernel bug */
62 #undef ENABLE_REDHAT_BUILDSYS
63 #if defined(ENABLE_REDHAT_BUILDSYS) && defined(KERNEL) && defined(REDHAT_FIX)
64 # include "redhat-fix.h"
66 #endif /* __AFSCONFIG_H */])