aux_conf.h revision 38581
138581Sobrien/* 238581Sobrien * aux_conf.h: 338581Sobrien * This file gets "filled in" for each architecture. 438581Sobrien * Generated automatically from aux_conf.h.in by configure. 538581Sobrien */ 638581Sobrien 738581Sobrien#ifndef _AUX_CONF_H 838581Sobrien#define _AUX_CONF_H 938581Sobrien 1038581Sobrien/* 1138581Sobrien * The next line is a literal inclusion of a file which includes a 1238581Sobrien * definition for the MOUNT_TRAP macro for a particular architecture. 1338581Sobrien * If it defines the wrong entry, check the AC_CHECK_MOUNT_TRAP m4 macro 1438581Sobrien * in $srcdir/aux/macros. 1538581Sobrien */ 1638581Sobrien 1738581Sobrien/* $srcdir/conf/trap/trap_freebsd3.h */ 1838581Sobrien#ifdef COMMENT_GET_DIRECTLY_FROM_FILE 1938581Sobrienextern int mount_freebsd3(MTYPE_TYPE type, const char *dir, int flags, voidp data); 2038581Sobrien#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount_freebsd3(type, mnt->mnt_dir, flags, mnt_data) 2138581Sobrien#endif /* COMMENT_GET_DIRECTLY_FROM_FILE */ 2238581Sobrien#include "conf/trap/trap_freebsd3.h" 2338581Sobrien/* End of included MOUNT_TRAP macro definition file */ 2438581Sobrien 2538581Sobrien 2638581Sobrien/* 2738581Sobrien * The next line is a literal replacement of a variable which defines the 2838581Sobrien * the UNMOUNT_TRAP macro for a particular architecture. 2938581Sobrien * If it defines the wrong entry, check the AC_CHECK_UNMOUNT_CALL m4 macro 3038581Sobrien * in $srcdir/aclocal.m4. If the arguments are being defined wrong, check 3138581Sobrien * the macro AC_CHECK_UNMOUNT_ARGS in $srcdir/aux/macros. 3238581Sobrien */ 3338581Sobrien#define UNMOUNT_TRAP(mnt) unmount(mnt->mnt_dir) 3438581Sobrien/* End of replaced UNMOUNT_TRAP macro definition */ 3538581Sobrien 3638581Sobrien/* 3738581Sobrien * The next line is a literal inclusion of a file which includes a 3838581Sobrien * definition for the NFS_FH_DREF macro for a particular architecture. 3938581Sobrien * If it defines the wrong entry, check the AC_CHECK_NFS_FH_DREF m4 macro 4038581Sobrien * in $srcdir/aux/macros. 4138581Sobrien */ 4238581Sobrien 4338581Sobrien/* $srcdir/conf/fh_dref/fh_dref_freebsd22.h */ 4438581Sobrien#ifdef COMMENT_GET_DIRECTLY_FROM_FILE 4538581Sobrien#define NFS_FH_DREF(dst, src) (dst) = (u_char *) (src) 4638581Sobrien#endif /* COMMENT_GET_DIRECTLY_FROM_FILE */ 4738581Sobrien#include "conf/fh_dref/fh_dref_freebsd22.h" 4838581Sobrien/* End of included NFS_FH_DREF macro definition file */ 4938581Sobrien 5038581Sobrien/* 5138581Sobrien * The next line is a literal inclusion of a file which includes a 5238581Sobrien * definition for the NFS_SA_DREF macro for a particular architecture. 5338581Sobrien * If it defines the wrong entry, check the AC_CHECK_NFS_SA_DREF m4 macro 5438581Sobrien * in $srcdir/aux/macros. 5538581Sobrien */ 5638581Sobrien 5738581Sobrien/* $srcdir/conf/sa_dref/sa_dref_bsd44.h */ 5838581Sobrien#ifdef COMMENT_GET_DIRECTLY_FROM_FILE 5938581Sobrien#define NFS_SA_DREF(dst, src) { \ 6038581Sobrien (dst)->addr = (struct sockaddr *) (src); \ 6138581Sobrien (dst)->addrlen = sizeof(*src); \ 6238581Sobrien } 6338581Sobrien#endif /* COMMENT_GET_DIRECTLY_FROM_FILE */ 6438581Sobrien#include "conf/sa_dref/sa_dref_bsd44.h" 6538581Sobrien/* End of included NFS_SA_DREF macro definition file */ 6638581Sobrien 6738581Sobrien/* 6838581Sobrien * The next line is a literal inclusion of a file which includes a 6938581Sobrien * definition for the NFS_HN_DREF macro for a particular architecture. 7038581Sobrien * If it defines the wrong entry, check the AC_CHECK_NFS_HN_DREF m4 macro 7138581Sobrien * in $srcdir/aux/macros. 7238581Sobrien */ 7338581Sobrien 7438581Sobrien/* $srcdir/conf/hn_dref/hn_dref_default.h */ 7538581Sobrien#ifdef COMMENT_GET_DIRECTLY_FROM_FILE 7638581Sobrien#define NFS_HN_DREF(dst, src) (dst) = (src) 7738581Sobrien#endif /* COMMENT_GET_DIRECTLY_FROM_FILE */ 7838581Sobrien#include "conf/hn_dref/hn_dref_default.h" 7938581Sobrien/* End of included NFS_HN_DREF macro definition file */ 8038581Sobrien 8138581Sobrien#endif /* not _AUX_CONF_H */ 82