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