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