1/*
2 * aux_conf.h:
3 * This file gets "filled in" for each architecture.
4 * aux_conf.h. Generated 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/m4/macros.
15 */
16/* $srcdir/conf/trap/trap_netbsd.h */
17#if __NetBSD_Version__ >= 499002300
18#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount(type, mnt->mnt_dir, flags, mnt_data, 0)
19#else
20#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount(type, mnt->mnt_dir, flags, mnt_data)
21#endif
22/* End of included MOUNT_TRAP macro definition file */
23
24/*
25 * The next line is a literal replacement of a variable which defines the
26 * the UNMOUNT_TRAP macro for a particular architecture.
27 * If it defines the wrong entry, check the AC_CHECK_UNMOUNT_CALL m4 macro
28 * in $srcdir/aclocal.m4. If the arguments are being defined wrong, check
29 * the macro AC_CHECK_UNMOUNT_ARGS in $srcdir/m4/macros.
30 */
31#define UNMOUNT_TRAP(mnt) unmount(mnt->mnt_dir)
32/* End of replaced UNMOUNT_TRAP macro definition */
33/* umount(8) executable path, for type:=program */
34#define UNMOUNT_PROGRAM "/sbin/umount"
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/m4/macros.
41 */
42/* $srcdir/conf/fh_dref/fh_dref_freebsd22.h */
43#define NFS_FH_DREF(dst, src) (dst) = (u_char *) (src)
44/* End of included NFS_FH_DREF macro definition file */
45
46/*
47 * The next line is a literal inclusion of a file which includes a
48 * definition for the NFS_SA_DREF macro for a particular architecture.
49 * If it defines the wrong entry, check the AC_CHECK_NFS_SA_DREF m4 macro
50 * in $srcdir/m4/macros.
51 */
52/* $srcdir/conf/sa_dref/sa_dref_bsd44.h */
53#define NFS_SA_DREF(dst, src) { \
54 (dst)->addr = (struct sockaddr *) (src); \
55 (dst)->addrlen = sizeof(*src); \
56 }
57#define NFS_ARGS_T_ADDR_IS_POINTER 1
58/* End of included NFS_SA_DREF macro definition file */
59
60/*
61 * The next line is a literal inclusion of a file which includes a
62 * definition for the NFS_HN_DREF macro for a particular architecture.
63 * If it defines the wrong entry, check the AC_CHECK_NFS_HN_DREF m4 macro
64 * in $srcdir/m4/macros.
65 */
66/* $srcdir/conf/hn_dref/hn_dref_default.h */
67#define NFS_HN_DREF(dst, src) (dst) = (src)
68/* End of included NFS_HN_DREF macro definition file */
69
70#endif /* not _AUX_CONF_H */
71