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