Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / amd / include / aux_conf.h
1 /*
2  * aux_conf.h:
3  * This file gets "filled in" for each architecture.
4  * Generated automatically from aux_conf.h.in by configure.
5  */
6
7 #ifndef _AUX_CONF_H
8 #define _AUX_CONF_H
9
10 /*
11  * The next line is a literal inclusion of a file which includes a
12  * definition for the MOUNT_TRAP macro for a particular architecture.
13  * If it defines the wrong entry, check the AC_CHECK_MOUNT_TRAP m4 macro
14  * in $srcdir/aux/macros.
15  */
16
17 /* $srcdir/conf/trap/trap_default.h */
18 #ifdef COMMENT_GET_DIRECTLY_FROM_FILE
19 #define MOUNT_TRAP(type, mnt, flags, mnt_data) mount(type, mnt->mnt_dir, flags, mnt_data)
20 #endif  /* COMMENT_GET_DIRECTLY_FROM_FILE */
21 #include "conf/trap/trap_default.h"
22 /* End of included MOUNT_TRAP macro definition file */
23
24
25 /*
26  * The next line is a literal replacement of a variable which defines the
27  * the UNMOUNT_TRAP macro for a particular architecture.
28  * If it defines the wrong entry, check the AC_CHECK_UNMOUNT_CALL m4 macro
29  * in $srcdir/aclocal.m4.  If the arguments are being defined wrong, check
30  * the macro AC_CHECK_UNMOUNT_ARGS in $srcdir/aux/macros.
31  */
32 #define UNMOUNT_TRAP(mnt)       unmount(mnt->mnt_dir)
33 /* End of replaced UNMOUNT_TRAP macro definition */
34
35 /*
36  * The next line is a literal inclusion of a file which includes a
37  * definition for the NFS_FH_DREF macro for a particular architecture.
38  * If it defines the wrong entry, check the AC_CHECK_NFS_FH_DREF m4 macro
39  * in $srcdir/aux/macros.
40  */
41
42 /* $srcdir/conf/fh_dref/fh_dref_freebsd22.h */
43 #ifdef COMMENT_GET_DIRECTLY_FROM_FILE
44 #define NFS_FH_DREF(dst, src) (dst) = (u_char *) (src)
45 #endif  /* COMMENT_GET_DIRECTLY_FROM_FILE */
46 #include "conf/fh_dref/fh_dref_freebsd22.h"
47 /* End of included NFS_FH_DREF macro definition file */
48
49 /*
50  * The next line is a literal inclusion of a file which includes a
51  * definition for the NFS_SA_DREF macro for a particular architecture.
52  * If it defines the wrong entry, check the AC_CHECK_NFS_SA_DREF m4 macro
53  * in $srcdir/aux/macros.
54  */
55
56 /* $srcdir/conf/sa_dref/sa_dref_bsd44.h */
57 #ifdef COMMENT_GET_DIRECTLY_FROM_FILE
58 #define NFS_SA_DREF(dst, src) { \
59                 (dst)->addr = (struct sockaddr *) (src); \
60                 (dst)->addrlen = sizeof(*src); \
61         }
62 #endif  /* COMMENT_GET_DIRECTLY_FROM_FILE */
63 #include "conf/sa_dref/sa_dref_bsd44.h"
64 /* End of included NFS_SA_DREF macro definition file */
65
66 /*
67  * The next line is a literal inclusion of a file which includes a
68  * definition for the NFS_HN_DREF macro for a particular architecture.
69  * If it defines the wrong entry, check the AC_CHECK_NFS_HN_DREF m4 macro
70  * in $srcdir/aux/macros.
71  */
72
73 /* $srcdir/conf/hn_dref/hn_dref_default.h */
74 #ifdef COMMENT_GET_DIRECTLY_FROM_FILE
75 #define NFS_HN_DREF(dst, src) (dst) = (src)
76 #endif  /* COMMENT_GET_DIRECTLY_FROM_FILE */
77 #include "conf/hn_dref/hn_dref_default.h"
78 /* End of included NFS_HN_DREF macro definition file */
79
80 #endif /* not _AUX_CONF_H */