1dnl ###################################################################### 2dnl Find if struct mnttab exists anywhere in mount.h or mnttab.h headers 3AC_DEFUN([AMU_STRUCT_MNTTAB], 4[ 5AC_CACHE_CHECK(for struct mnttab, 6ac_cv_have_struct_mnttab, 7[ 8# try to compile a program which may have a definition for the structure 9AC_TRY_COMPILE( 10AMU_MOUNT_HEADERS 11, 12[ 13struct mnttab mt; 14], ac_cv_have_struct_mnttab=yes, ac_cv_have_struct_mnttab=no) 15]) 16if test "$ac_cv_have_struct_mnttab" = yes 17then 18 AC_DEFINE(HAVE_STRUCT_MNTTAB) 19fi 20]) 21dnl ====================================================================== 22