aux_conf.h revision 38581
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_freebsd3.h */ 18#ifdef COMMENT_GET_DIRECTLY_FROM_FILE 19extern int mount_freebsd3(MTYPE_TYPE type, const char *dir, int flags, voidp data); 20#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount_freebsd3(type, mnt->mnt_dir, flags, mnt_data) 21#endif /* COMMENT_GET_DIRECTLY_FROM_FILE */ 22#include "conf/trap/trap_freebsd3.h" 23/* End of included MOUNT_TRAP macro definition file */ 24 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_GET_DIRECTLY_FROM_FILE 45#define NFS_FH_DREF(dst, src) (dst) = (u_char *) (src) 46#endif /* COMMENT_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_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_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_GET_DIRECTLY_FROM_FILE 76#define NFS_HN_DREF(dst, src) (dst) = (src) 77#endif /* COMMENT_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