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